Website Summary Files Commits Branches @commit @diff @stats
path: root / Big4_basic_examples / TestClass / Source.cpp
blob: bdb8002a04b7294b947d6f6749b4dc05e9bc74da (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#include <iostream>
#include "TestClass.h"

using namespace std;


int main()
{
	TestClass obj1(3, 3, "abc");

	TestClass obj2(obj1);//copy const;

	TestClass obj3(3, 1, "333");

	obj3 = obj1; // operator=;

	TestClass obj4 = obj3; ////copy const;


} //destructors