diff options
added new examples
1 files changed, 0 insertions, 18 deletions
| -rw-r--r-- | Big4AndInheritance/Students/User.h | 18 |
diff --git a/Big4AndInheritance/Students/User.h b/Big4AndInheritance/Students/User.h deleted file mode 100644 index d84bd71..0000000 --- a/Big4AndInheritance/Students/User.h +++ /dev/null @@ -1,18 +0,0 @@ -#pragma once
-
-#include <iostream>
-using namespace std;
-class User
-{
-private:
- char* name;
- int age;
- void CopyFrom(const User& other);
- void Free();
-public:
- //User();
- User(const char*name, int age);
- User(const User& other);
- User& operator=(const User& other);
- ~User();
-};
|
