diff options
author | Michael Abed <michaelabed@gmail.com> | 2012-04-09 01:45:23 -0400 |
---|---|---|
committer | Michael Abed <michaelabed@gmail.com> | 2012-04-09 01:48:41 -0400 |
commit | 1ba0668dbcf5bc4c40d99ac963711e35797c8efa (patch) | |
tree | b359b81f4e538e923366a7c718d9defd9b823bc4 /Student.h | |
download | ec327-lab3-1ba0668dbcf5bc4c40d99ac963711e35797c8efa.tar.gz ec327-lab3-1ba0668dbcf5bc4c40d99ac963711e35797c8efa.tar.bz2 ec327-lab3-1ba0668dbcf5bc4c40d99ac963711e35797c8efa.zip |
Diffstat (limited to 'Student.h')
-rw-r--r-- | Student.h | 21 |
1 files changed, 21 insertions, 0 deletions
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 <string> +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 |