Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "roster.h"
- #include "Student.h"
- using namespace std;
- const string studentData[] = { "A1,John,Smith,John1989@gm ail.com,20,30,35,40,SECURITY", "A2,Suzan,Erickson,Erickson_1990@gmailcom,19,50,30,40,NETWORK", "A3,Jack,Napoli,The_lawyer99yahoo.com,19,20,40,33,SOFTWARE", "A4,Erin,Black,Erin.black@comcast.net,22,50,58,40,SECURITY", "A5,Jameson,Bradfield,jbra627@wgu.edu,24, 30,4 ,57 ,SOFTWARE" };
- int main() {
- Student* S = new Student("A1", "John", "Smith", "John1989@gm ail.com", 20, 30, 35, 40, DegreeProgram::SECURITY);
- S->Print();
- delete S;
- }
- //Roster classRoster;
- //int main() {
- // cout << "C867-Scripting & Programming: Applications" << endl;
- // cout << "Language: C++" << "Student ID: 009951284" << "Name: Jameson Bradfield" << endl;
- // for (int i = 0; i < studentData.size() - 1; i++) {
- // classRoster.parse(studentData[i])
- // }
- // classRoster.printAll();
- // classRoster.printInvalidEmails();
- // for (int i = 0; i <studentData.size;i++)
- // {
- // *classRoster.classRosterArray[i].printAverageDaysInCourse(classRoster[i].GetStudentId());
- // }
- // classRoster.printByDegreeProgram(SOFTWARE);
- // classRoster.remove("A3");
- // classRoster.printAll();
- // classRoster.remove("A3");
- //
- //}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement