C++
cwl932216856
这个作者很懒,什么都没留下…
展开
-
Linux多线程编程详解----条件变量pthread_cond_t
参考以上三篇博文,链接如下:http://blog.csdn.net/ithomer/article/details/6031723http://blog.sina.com.cn/s/blog_825085b601018xfp.htmlhttp://blog.csdn.net/ffilman/article/details/4871920在多转载 2016-05-24 17:56:10 · 311 阅读 · 0 评论 -
C++拷贝构造函数(深拷贝,浅拷贝)
对于普通类型的对象来说,它们之间的复制是很简单的,例如:int a=88;int b=a; 而类对象与普通对象不同,类对象内部结构一般较为复杂,存在各种成员变量。下面看一个类对象拷贝的简单例子。 #include iostream>using namespace std;class CExample {private: int a;pub转载 2016-05-19 17:09:45 · 285 阅读 · 0 评论