I keep getting this error in my print statement
void Student::print() {
cout << getStudentID() << "\t";
cout << "First Name: " << getFirstName() << "\t";
cout << "Last Name: " << getLastName() << "\t";
cout << "Email Address: " << getEmailAddress() << "\t";
cout << "Age:\t" << age << "\t";
cout << "DaysInCourse: {" << getDaysToCompleteEachCourse()[0] << ", " << getDaysToCompleteEachCourse()[1] <<
", " << getDaysToCompleteEachCourse()[2] << "} ";
cout << "Degree Program: " << convertEnumToString(getDegreeProgram()) << endl;
I stepped through on the debugger and it seems to happen from any getter method accessed in this function
string Student::getStudentID() {
return this->studentID;
}