summaryrefslogtreecommitdiff
path: root/7p5.cpp
diff options
context:
space:
mode:
Diffstat (limited to '7p5.cpp')
-rw-r--r--7p5.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/7p5.cpp b/7p5.cpp
new file mode 100644
index 0000000..8c65760
--- /dev/null
+++ b/7p5.cpp
@@ -0,0 +1,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;
+}