Website Summary Files Commits Branches @commit @diff @stats
path: root / Big4_basic_examples / TestClass / TestClass.h
blob: 4841785d09aef60b364ca6a710e56c693961d096 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#include <iostream>
class TestClass
{
private:

	void CopyFrom(const TestClass& other);
	void Free();
	int a;
	int b;
	char* name;

public:


	TestClass(int a, int b, const char* str);
	
	// big4
	TestClass();
	TestClass(const TestClass& other);
	TestClass& operator=(const TestClass& other);
	~TestClass();

	void Print() const;

};