FFS, you guys still do not get it. I am required to
-
Create a C++ project with the following files: degree.h, student.h and student.cpp, roster.h and roster.cpp, and main.cpp for a total of six source code files.
-
In degree.h I must define an enumerated data type, DegreeProgram containing the values: SECURITY, NETWORK, and SOFTWARE.
-
For the Student class, I must include the following variables: student ID, first name, last name, email address, age, array of number of days to complete each course, and degree program. The Student class must also include accessors and mutators for each variable. Additionally, the Student class must contain a constructor and a print() function.
-
For the Roster class, I must include an array of pointers, named classRosterArray to hold the data provided in the āstudentData Table.ā Then I must create a student object for each student in the data table and populate classRosterArray. Next I have to define, specifically, each method of the roster class: public void add(string, string, string, string, int, int, int, int, DegreeProgram); public void remove(string studentID); public void printAll(); public void printAverageDaysInCourse(string studentID); public void printInvalidEmails(); and public void printByDegreeProgram(DegreeProgram). Each one of these functions has specific requirements telling me what it should do.
-
Finally, I have to ādemonstrate the programās required functionality by adding a main() function in main.cpp which will contain the required function calls to achieve the following results:ā print out to the screen the course title, the programming language used, my WGU student ID, and my name; create an instance of the Roster class called classRoster; add each student to classRoster; and convert specified pseudo code to complete the rest of main.
Iāve been trying to tell you guys that the program instructions are very explicit. But yāall wonāt listen. I am trying to tell you guys that I agree with you that it is hella unreadable and messy as hell. But I canāt make it better because the code structure is made by idiots at the university.