C-C++
li先生的家
这个作者很懒,什么都没留下…
展开
-
详解std::map::erase
std::map::erase原创 2015-10-20 22:16:56 · 1977 阅读 · 0 评论 -
Makefile显示“make: Nothing to be done for xxxx”的解决方法
Makefile显示“make: Nothing to be done for xxxx”的解决方法转载 2017-05-10 19:40:28 · 44104 阅读 · 5 评论 -
shared_from_this()
shared_from_this()使用场合转载 2016-08-10 20:11:56 · 2644 阅读 · 0 评论 -
open()和fopen()的区别
open() 和 fopen() 区别转载 2016-08-22 00:11:13 · 514 阅读 · 0 评论 -
__builtin_expect详解
if(unlikely(!something)) //表示 !something 为真 情况很少发生/* ...... */if(likely(something)) //表示 something 为真 情况经常发生原创 2016-08-02 11:39:28 · 1964 阅读 · 1 评论 -
待整理的知识点
1 死锁(1) http://blog.csdn.net/guoweimelon/article/details/50849533 介绍了死锁的基本概念(2) http://www.cnblogs.com/yanlingyin/archive/2011/12/29/thinkingindeadlocks.html(3) http://www.blogfshare.com/ope原创 2016-08-13 23:40:14 · 416 阅读 · 0 评论 -
引用与函数默认参数
#include using namespace std;class Foo { public: Foo(int a = 0) : a_(a){} Foo(const Foo& foo) { a_ = foo.a_; }原创 2016-08-15 21:24:57 · 309 阅读 · 0 评论 -
宏定义SIG_DFL及SIG_IGN
define SIG_DFL和SIG_IGN转载 2016-04-09 21:20:57 · 9268 阅读 · 2 评论 -
clock()与time()区别
clock与time区别原创 2015-11-25 22:26:06 · 4443 阅读 · 0 评论 -
open函数的O_CREAT与O_EXCL
O_CREAT与O_EXCL原创 2015-11-18 21:32:35 · 2025 阅读 · 0 评论 -
std::vector::erase()
std::vector::erase()原创 2015-11-05 22:05:02 · 1537 阅读 · 0 评论 -
C/C++零碎集——第二集
C/C++ 零散集原创 2016-08-05 20:41:06 · 424 阅读 · 0 评论