summaryrefslogtreecommitdiff
path: root/person.hpp
diff options
context:
space:
mode:
authorOskar <[email protected]>2024-09-17 16:36:14 +0200
committerOskar <[email protected]>2024-09-17 16:36:14 +0200
commit46dd78806ebac69c88cb07cecb3afae1835b783a (patch)
tree69f5c404612d884d4d6ff12304eb650985a71263 /person.hpp
parentd8d8f1c987f118843d44ea27ac516f8fe866ded4 (diff)
more
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