전체 글8 [Linux] gdb #ulimit 프로세스의 자원 한도를 설정하는 명령. core dump 파일이 생성되지 않을 경우. $ ulimit -a core file size (blocs, -c) 0 2019. 9. 17. [c++] std::map::operator[] mapped_type& operator[] (const key_type& k); http://www.cplusplus.com/reference/map/map/operator[]/ map::operator[] - C++ Reference mymap['a'] is an element mymap['b'] is another element mymap['c'] is another element mymap['d'] is mymap now contains 4 elements. www.cplusplus.com void function() const { std::map m; std::vector nums = {1, 2, 3, 4}; for (auto num : nums) { m[num].push_back(num); } .. 2019. 9. 17. [GDBus] codegen : C type mapping 1 'b' bool 2 'y' byte 3 'n' int16 4 'q' uint16 5 'i' int32 6 'u' uint32 7 'x' int64 8 't' uint64 9 'd' double 10 's' string 11 'o' object ... etc etc [참고자료] https://dbus.freedesktop.org/doc/api/html/group__DBusProtocol.html 2019. 8. 1. [Git] Github : 소스 인출하고 반영하기 $ mkdir directory_name$ cd directory_name $ git init$ git remote add origin repository_address ex) git remote add origin https://github.com/leftpark/NotificationTest.git$ git pull origin master $ git add ./ $ git commitor$ git commit -m "comments" $ git push -u origin master 2015. 9. 18. 이전 1 2 다음