Question: Create Student class as an abstract class in C++. Inherit GraduateStudent and PostGraduateStudent and ResearchStudent classes from Student class. Define proper constructors, destructors and functions related to attendance and examination result. Make necessary assumptions wherever required.
I am not the same guy who posted this http://www.daniweb.com/software-development/cpp/threads/464146/cpp-program , I just reached here following the link from google.
This is not out of lazinees but because I am unable to assume the requirements of this program. Here is a little part that I have already completed, I just need simple assumptions that you guys can provide which will help me complete it. Its urgent. Thank you in advance.
#include<iostream>
#include<conio.h>
using namespace std;
class Student {
public:
Student();
~Student();
virtual void attendence();
virtual void examination();
};
class GraduateStudent:public Student {
GraduateStudent() {
}
~GraduateStudent() {
}
};
class PostGraduateStudent:public Student {
PostGraduateStudent() {
}
~PostGraduateStudent() {
}
};
class ResearchStudent:public Student {
ResearchStudent() {
};
~ResearchStudent() {
}
};
int main() {
return 0;
}