- 博客(4)
- 收藏
- 关注
原创 使用模板代码的时候出现Link2019 ERROR
The best way is do what the STL does, that is put all the template code(the declaration and the implementation) in a header file or a file w
2011-08-17 10:04:39 425
原创 Compiler Error C2990
// C2990c.cpp// compile with: /ctemplateclass T>class A;templateclass T>struct A2 { friend class A; // C2990};// OKtemplatecl
2011-08-12 14:24:55 428
原创 如何设置Console输出的颜色
#define GREEN(x) \SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), FOREGROUND_GREEN);\x;\SetConsoleTextAttribute(GetStdHandl
2011-08-01 16:01:43 705
原创 C++/C#的区别之在构造函数中调用虚函数
今天在Essential C# 2.0里面看到的一段话:In C++, methods called during construction will not dispatch the virtual method. Instead, during construction, t
2011-07-25 13:08:33 517
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人