summaryrefslogtreecommitdiff
path: root/7p5.cpp
blob: 8c657607651c29bae279095409d9323d9dc1beb0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#include <iostream>
#include "person.hpp"

/*
 *
 * 7.5
 *
 * Done in person.hpp
 * We aren't changing the object or anything so const is okay
 */

int main () {

	Person person1;
	person1.Name = "John Doe";
	person1.Address = "Unknown Street 20";
	std::cout << person1.GetName() << std::endl;
	std::cout << person1.GetAddress() << std::endl;
	return 0;
}