summaryrefslogtreecommitdiff
path: root/7p15.cpp
diff options
context:
space:
mode:
authorOskar <[email protected]>2024-09-19 21:50:27 +0200
committerOskar <[email protected]>2024-09-19 21:50:27 +0200
commitc6d7e8e9a6cd4e31b259f9671510f7bee4d47b65 (patch)
treef31623c23e66a840ee08297c43b0bf9ad88a227f /7p15.cpp
parenta10a6e35975660b89b465faf5baacd6df9c43a34 (diff)
more
Diffstat (limited to '7p15.cpp')
-rw-r--r--7p15.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/7p15.cpp b/7p15.cpp
index 58d5fbf..8a6662c 100644
--- a/7p15.cpp
+++ b/7p15.cpp
@@ -1,12 +1,18 @@
#include <iostream>
+#include "person.hpp"
/*
*
- * Description
+ * 7.15
*
*
*/
int main () {
+
+ Person p1("John Doe");
+ Person p2("Jane Doe", "Street Street 1");
+ std::cout << p1.GetName() << " " << p1.GetAddress() << std::endl;
+ std::cout << p2.GetName() << " " << p2.GetAddress() << std::endl;
return 0;
}