摘要:
#include <iostream>#include <stdlib.h> using namespace std; class B{public: B() { cout << "B()" << endl; } ~B() { cout << "~B()" << endl; } int m_b1; 阅读全文
posted @ 2017-09-11 22:03
w6811645
阅读(154)
评论(0)
推荐(0)
摘要:
#include <iostream>#include <stdlib.h> using namespace std; class A{public: int age; void test() { cout << "A()" << endl; }}; class B : public A{publi 阅读全文
posted @ 2017-09-11 22:01
w6811645
阅读(131)
评论(0)
推荐(0)
摘要:
#include <iostream>#include <stdlib.h>#include <string>using namespace std; char GetChars(string &str, const int nStrIndex){ if (nStrIndex > (int)str. 阅读全文
posted @ 2017-09-11 22:00
w6811645
阅读(75)
评论(0)
推荐(0)

浙公网安备 33010602011771号