summaryrefslogtreecommitdiff
path: root/person.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'person.hpp')
-rw-r--r--person.hpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/person.hpp b/person.hpp
new file mode 100644
index 0000000..66ec7f0
--- /dev/null
+++ b/person.hpp
@@ -0,0 +1,12 @@
+#ifndef PERSON_H
+#define PERSON_H
+#include <string>
+
+struct Person {
+ std::string Name;
+ std::string Address;
+ std::string GetAddress() const { return Address; }
+ std::string GetName() const { return Name; }
+};
+
+#endif