And I keep getting these errors for every variable in my struct
error C2146: syntax error : missing ';' before identifier 'studentname'
missing type specifier - int assumed. Note: C++ does not support default-int
I'm sure theres something obvious I'm missing but I don't know what it is!
grades.h is included before usingnamespace std;, so std::string still hasn't been moved into the global namespace when grades::strudentname is declared.