文章分类 -  c++

摘要:http://www.cnblogs.com/Yogurshine/archive/2013/01/14/2859248.html 以下这篇文章对UML做了一个概念性的说明,非常好: http://www.cnblogs.com/wangkangluo1/archive/2013/02/21/292 阅读全文
posted @ 2015-12-31 08:50 forwardslash
摘要:http://www.cnblogs.com/Yogurshine/p/3913073.html 阅读全文
posted @ 2015-12-31 08:49 forwardslash 阅读(54) 评论(0) 推荐(0)
摘要:模板:函数模板template func (T param1, T2 param2...)类模板标准模板库:STL 阅读全文
posted @ 2015-09-30 11:17 forwardslash
摘要:1. c++内置类型是否具有类的属性?2. C++ 模板编程的掌握3. C++有没有终极类?就是说不能作为超类的类 ANSWER: 把所有构造函数都置为PRIVATE的,或者超类中含有PRIVATE 构造函数的4. C++的类型转换操作符作用:根据目的选择一个适合的操作符,而不是使用通用的类型转换。... 阅读全文
posted @ 2015-09-29 10:45 forwardslash 阅读(119) 评论(0) 推荐(0)
摘要:http://blog.csdn.net/xqs83/article/details/7612866 阅读全文
posted @ 2015-09-15 14:10 forwardslash
摘要:http://blog.csdn.net/lwbeyond/article/details/6202256class X{public:X(const X& x) { cout usingnamespacestd;classSample{public:Sample(){};Sample(Sample... 阅读全文
posted @ 2015-09-14 15:31 forwardslash
摘要:下面一段代码:#include using namespace std;class A { public: A() { cout << "constructor : A()" << endl; virtual ~A() { cout << "destructor: ~A()" << endl;... 阅读全文
posted @ 2015-09-08 23:43 forwardslash
摘要:string is very important template class in STL#include 阅读全文
posted @ 2015-09-07 06:30 forwardslash