summaryrefslogtreecommitdiffstats
path: root/C++/Inheritance/person.h
diff options
context:
space:
mode:
authormsglm <msglm@techchud.xyz>2023-01-14 05:31:48 -0600
committermsglm <msglm@techchud.xyz>2023-01-14 05:31:48 -0600
commit9d53d8857eaa1c9405894a88ca75bc4657e42f35 (patch)
treeeb1efc1d028b949dd83bb710c68be8eff58f26e7 /C++/Inheritance/person.h
downloadschool-code-master.tar.gz
school-code-master.tar.bz2
school-code-master.zip
Inital CommitHEADmaster
Diffstat (limited to 'C++/Inheritance/person.h')
-rw-r--r--C++/Inheritance/person.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/C++/Inheritance/person.h b/C++/Inheritance/person.h
new file mode 100644
index 0000000..a9fca01
--- /dev/null
+++ b/C++/Inheritance/person.h
@@ -0,0 +1,12 @@
+#include <string>
+using namespace std;
+class person {
+ public:
+ string fname;
+ string lname;
+ string address;
+ string city;
+ string state;
+ int zip;
+ int phonenum;
+};