Advertisement
jamesonBradfield

main.cpp

Dec 20th, 2023
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 1.20 KB | Software | 0 0
  1. #include "roster.h"
  2. #include "Student.h"
  3.  
  4. using namespace std;
  5. 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" };
  6.  
  7. int main() {
  8. Student* S = new Student("A1", "John", "Smith", "John1989@gm ail.com", 20, 30, 35, 40, DegreeProgram::SECURITY);
  9. S->Print();
  10. delete S;
  11. }
  12.  
  13. //Roster classRoster;
  14. //int main() {
  15. //  cout << "C867-Scripting & Programming: Applications" << endl;
  16. //  cout << "Language: C++" << "Student ID: 009951284" << "Name: Jameson Bradfield" << endl;
  17. //  for (int i = 0; i < studentData.size() - 1; i++) {
  18. //      classRoster.parse(studentData[i])
  19. //  }
  20. //  classRoster.printAll();
  21. //  classRoster.printInvalidEmails();
  22. //  for (int i = 0; i <studentData.size;i++)
  23. //  {
  24. //      *classRoster.classRosterArray[i].printAverageDaysInCourse(classRoster[i].GetStudentId());
  25. //  }
  26. //  classRoster.printByDegreeProgram(SOFTWARE);
  27. //  classRoster.remove("A3");
  28. //  classRoster.printAll();
  29. //  classRoster.remove("A3");
  30. //
  31. //}
  32.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement