06 2018 档案

摘要:1 C++ map.insert: pair和make_pair区别 2 \*********************************\ 3 map temp; 4 1. temp[1] = "template"; 5 2.temp.insert(pair(1, "template")); 6 3.temp.insert(make_pair(1... 阅读全文
posted @ 2018-06-29 11:28 kilen 阅读(8695) 评论(0) 推荐(0)
摘要:一、valgrind 是运行在linux系统下的内存调试工具,支持很多对象:memcheck、addrcheck、cachegrind、Massif、helgrind、Callgrind等。使用valgrind时,必须指明想用的对象,若是省略对象名,默认运行memcheck。(目前只用到memche 阅读全文
posted @ 2018-06-15 23:12 kilen 阅读(451) 评论(0) 推荐(0)
摘要:1、centos 6 是iptables, 7 开始就以firewalld代替iptables; 2、systemctl stop firewalld.service 停 systemctl start firewalld.service 开 systemctl enable iptables.se 阅读全文
posted @ 2018-06-02 11:17 kilen 阅读(156) 评论(0) 推荐(0)