blob: 7a9e6e2f82499b1d3df2b5b7acfde1123d770efb (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
class Person {
char* firstName;
char* middleName;
char* lastName;
unsigned id;
void free();
void copyFrom(const Person& other);
public:
Person();
~Person();
Person(const Person& other);
Person& operator=(const Person& other);
Person(Person&& other);
Person& operator=(Person&& other);
void SaveText(const char* outFileName);
void LoadText(const char* inFileName);
void SaveBinary(const char* outFileName);
void LoadBinary(const char* inFileName);
};
|