- 博客(2)
- 收藏
- 关注
原创 0002[虚构函数]
abstract.h #ifndef abstract_H #define abstract_H #include using std::string; class System { public: virtual string info() = 0; virtual ~System() {} }; class Activity { protected: System* syst
2014-04-16 15:53:58 745
原创 0001[Easy Inheritance]
ABCDE.cpp #include using namespace std; class C { public: C() { cout << "In C()" << endl; } ~C() { cout << "In ~C()" << endl; } }; class E { public: E() { cout << "In E()" << endl; }
2014-04-02 15:51:59 531
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人