05 2017 档案

摘要:1、 阅读全文
posted @ 2017-05-24 11:46 cogitoergosum 阅读(116) 评论(0) 推荐(0) 编辑
摘要:参考链接: http://www.cppblog.com/runsisi/archive/2012/10/08/193027.html gcc 搜索路径: 1、 gcc -print-search-dirs install: /usr/lib/gcc/i686-w64-mingw32/4.6/ pr 阅读全文
posted @ 2017-05-22 10:11 cogitoergosum 阅读(207) 评论(0) 推荐(0) 编辑
摘要:参考链接: http://blog.csdn.net/yin138/article/details/50388878 enterprise_id的数组大小要大于6位,否则用snmp get 时获取的是 enterprises 阅读全文
posted @ 2017-05-17 10:15 cogitoergosum 阅读(672) 评论(0) 推荐(0) 编辑
摘要:四种类型转换: reinterpret_cast、static_cast、dynamic_cast 和 const_cast reinterpret_cast 可以进行任意类型转换 static_cast 进行类的转换以及基本类型转换 dynamic_cast 跟 static_cast 作用差不多 阅读全文
posted @ 2017-05-07 10:28 cogitoergosum 阅读(136) 评论(0) 推荐(0) 编辑
摘要:参考链接: http://www.cnblogs.com/fengc5/p/5083134.html 1、用于宏定义, 在该函数可以调用其它的宏,做其它内容的处理 阅读全文
posted @ 2017-05-05 13:38 cogitoergosum 阅读(287) 评论(0) 推荐(0) 编辑
摘要:linux sscanf() 类似正则表达式,又不完全是正则表达式。 分割 ”/“ 或 "@" 或空格 要用 [^/] 例如: sscanf("iios/12DDWDFF@122", "%*[^/]/%[^@]", buf); printf("%s\n", buf); 结果为:12DDWDFF 分割 阅读全文
posted @ 2017-05-05 12:15 cogitoergosum 阅读(2988) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示