- 博客(3)
- 资源 (1)
- 收藏
- 关注
原创 VS2010使用心得1
今天装好VS2010,创建了一个基于对话框的MFC应用程序,发现跟VC6.0确实有不少东西不一样了。 VC6.0的class wizard快捷键是Ctrl+W,VS2010是Shift+Ctrl+X; VC6.0对话框类基类是CDialog,VS2010是CDialogEx。
2012-06-25 20:44:53 504
转载 C++强制类型转换
static_cast reinterpret_cast dynamic_cast const_cast 去const属性用const_cast。 基本类型转换用static_cast。 多态类之间的类型转换用dynamic_cast。 不同类型的指针类型转换用reinterpreter_cast。
2012-06-05 22:14:04 308
原创 单例模式c++例子
#include using namespace std; class T { public: int a; virtual void SetA(const int _a) { a = _a; } virtual void Print(const int _b) { cout << "Virtual Print Fuction!" <
2012-06-05 22:03:53 434
《effective software testing》 addison wesley 著
2009-03-15
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人