Help me please! IM entering this code ,but it is not working for some reason. Its from Accelereated c++ ,Chapter 4. The problem is every time i put this code in a error pops up saying "grade.h no such file" what is wrong with my code?
Make sure the file grade.h file is in the same directory as the main.cpp file, if it isn't either move to that directory or change the include statement to include the path to the grade.h file.
If the book has you doing both selective usingnamespace and usingnamespace std;, it's a poor example. A book should not be teaching you to write useless lines of code.