Website Summary Files Commits Branches @commit @diff @stats
path: root / Sem. 07 / Person / Source.cpp
blob: 478d07a0ba0a2104936b762068aab3359e0e300b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include <iostream>
#include "Person.h"
using namespace std;

int main()
{
	Person p("Ivan", 13);
	Person p2("Petur", 12);

	p = p2;

	p2.setName("Aleks");
	p.print();
	p2.print();

}