Hi
i have a qustion plz help me to understand and solve it
Just help me to know the meaning of each line , and what is the work of each function
i hope to see you help in quick time
thanks.
i have a qustion plz help me to understand and solve it
Code:
Phase One Problem description You are required to implement a student registration system. The system keeps information about the students including their id, which is an automatic number issued by the system, a name, and current number of courses. It is important to keep the count of courses a student is currently enrolled in since he is only allowed to register for 4 courses at any given point in time. The system should facilitate course registration and dropping through appropriate functions. The system should also keep record of the date in which the student enrolled. Information about courses is also needed. For each course, the id and number of credits is stored. The id of the course is a single string composed of two parts: a two character code specifying the major (e.g. CS for Computer Science, MA for Mathematics, EC for economics.. etc) and a serial number, which, unlike the code, is generated by the system. Task A Create a header file for the class student which contains the following header, then write its implementation file. #ifndef STUDENT_H_ #define STUDENT_H_ #include <iostream> #include <string> using namespace std; class Student{ private: static int serialId; const int id; string name; int currentCourses; bool canRegisterMore(); public: Student(string studentName); bool registerCourse(); void dropCourse(); void printDetails(); }; #endif /*STUDENT_H_*/
i hope to see you help in quick time
thanks.
Comment