السلام عليكــم ورحمـة الله وبركاتــه
شباب انا عندي كلاس اسمه
student
ورثت منه كلاس اسمه full time
الحين انا بكتب الكونستركتر حق الفل تايم
FullTime::FullTime(string studentName,Date dateofenrolment,int MAX):Student(studentName,dateofenrolment,MAX)
{
MAX=12;
}هل كتابتي صحيحه ازعجني يطلع لي ايرور
ارجو المساعده ولكم دعوه اخر الليل
صيغه الايرور
FullTime.cpp:8: error: type `struct Student' is not a direct base of `FullTime'