摘要:
代码1 #include <iostream> #include <functional> #include<cstdio> #include<cstring> using namespace std; class MyString3 { public: MyString3(const char * 阅读全文
posted @ 2022-12-01 17:28
Hello_Bugs
阅读(63)
评论(0)
推荐(0)
摘要:
代码1 using namespace std; class TestV2 { public: TestV2(int a = 10) : ma(a) { cout << "TestV2(int) " << ma <<" 对象地址="<<this << endl; } ~TestV2() { cout 阅读全文
posted @ 2022-12-01 12:11
Hello_Bugs
阅读(63)
评论(0)
推荐(0)
摘要:
代码1 #include <iostream> using namepspace std; class Test { public: Test(int a=10):ma(a){cout<<"Test()"<<endl;} ~Test(){cout<<"~Test()"<<endl;} Test(co 阅读全文
posted @ 2022-12-01 09:55
Hello_Bugs
阅读(66)
评论(0)
推荐(0)