When I use a #define for a header file, do I use it in the header file or in the associated .cpp file?
My switch statements:
Are giving a ": not found before ;" error, and that is the only thing I can surmise to be wrong.Code:case NAME: cout << endl << "getline(cin, student.name);" << endl; break; case MIDTERM: cout << endl << "student.midterm = GetIntInput()" << endl; break; case FINAL: cout << endl << "student.final = GetIntInput()" << endl; break; case HOMEWORK: cout << endl << "Add-Edit_Homework();" << endl; break; case TESTS: cout << endl << "Add-Edit_Tests();" << endl; break; case QUIZZES: cout << endl << "Add-Edit_Quizzes();" << endl; break; case PROJECTS: cout << endl << "Add-Edit_Projects();" << endl; break; }




Reply With Quote