加载中
乱七八糟的片段

#include <iostream> using namespace std; class Unkown { public:   void QueryInterface(int a)   {     cout<<"Hello, this your world!" <<endl;   } }; template <typename T> class Hel...

2012/06/20 15:44
68
C++单例模式

//单例模式 //main.cc #include "Single.h" #include <iostream> using namespace std; int main(int argc, char *argv[]) {   Single::GetInstance();   Single::GetInstance();   return 0;...

2012/06/18 19:20
728
結構與類

//BY:雲瑜 #include <iostream> using namespace std; struct MyStruct { int num; }; typedef struct MyTypedefStruct { int num; }MyTypedefStruct; //(*使用typedef struct ...

2011/11/12 12:55
116

没有更多内容

加载失败,请刷新页面

没有更多内容

返回顶部
顶部