about summary refs log tree commit diff
path: root/usth/ICT2.2/labwork/3/C++/name-card.h
diff options
context:
space:
mode:
Diffstat (limited to 'usth/ICT2.2/labwork/3/C++/name-card.h')
-rw-r--r--usth/ICT2.2/labwork/3/C++/name-card.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/usth/ICT2.2/labwork/3/C++/name-card.h b/usth/ICT2.2/labwork/3/C++/name-card.h
new file mode 100644
index 0000000..08e76a7
--- /dev/null
+++ b/usth/ICT2.2/labwork/3/C++/name-card.h
@@ -0,0 +1,18 @@
+#include <string>
+
+using namespace std;
+
+class NameCard
+{
+  string name;
+  string phone;
+  string email;
+public:
+  string get_name () { return name; }
+  string get_phone () { return phone; }
+  string get_email () { return email; }
+  void set_name (string);
+  void set_phone (string);
+  void set_email (string);
+  NameCard (string, string, string);
+};