@AbstracionAnon Ive done it that way before, but I have to use the courses member variable. I cant just use a counter.
This is the prompt for the readCourseArray function:
-Use the student’s number of courses to set up an array.
-Prompts the user for information about each course the student has taken: the course name, the course number, the credit hours, and the student’s letter grade.
Ok then what you have to do is either compile with the option -std=c++11
That will have no effect whatsoever. It's not any more legal in C++11 than it is in any other version of the standard. You can use the -ansi flag when compiling to disable nonstandard extensions if you're using a gcc variant.