12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879 |
-
- #if(0)
- #include <iostream>
- class Person
- {
- public:
-
- Person()
- {
- std::cout << "Person构造函数的调用" << std::endl;
- }
-
- ~Person()
- {
- std::cout << "Person的析构函数调用" << std::endl;
- }
- };
- void test01()
- {
- Person p;
- }
- int main()
- {
-
- Person p;
- system("pause");
- return 0;
- }
- #endif
|