Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef STUDENT_H
- #define STUDENT_H
- #include <string>
- #include "online.h"
- using namespace std;
- class Student : public Online
- {
- private:
- int studentID;
- bool status;
- public:
- Student()
- { studentID = 0;
- status = false; }
- void setID(int id)
- { studentID = id; }
- void setStatus(bool s)
- { status = s; }
- int getID()
- { return studentID; }
- bool getStatus()
- { return status; }
- };
- #endif
Add Comment
Please, Sign In to add comment