From 1ba0668dbcf5bc4c40d99ac963711e35797c8efa Mon Sep 17 00:00:00 2001 From: Michael Abed Date: Mon, 9 Apr 2012 01:45:23 -0400 Subject: finished assignment --- Student.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Student.h (limited to 'Student.h') diff --git a/Student.h b/Student.h new file mode 100644 index 0000000..019651b --- /dev/null +++ b/Student.h @@ -0,0 +1,21 @@ +#ifndef STUDENT_H +#define STUDENT_H + +#include +using std::string; + +class Student +{ +public: + Student(void) { name = "default student"; } + Student(string n) { name = n; } + ~Student(void) { } + + string getName(void) { return name; } + void setName(string n) { name = n; } + +private: + string name; +}; // class Student + +#endif // STUDENT_H -- cgit v1.2.3