This is some of my program. My problem is when i try and include my header file "additional.h" i get the error message:
1>c:\users\aaron\documents\visual studio 2008\projects\hw7\hw7\brain_gym.cpp(5) : error C2059: syntax error : 'namespace'
1>c:\users\aaron\documents\visual studio 2008\projects\hw7\hw7\brain_gym.cpp(5) : error C2238: unexpected token(s) preceding ';'
1>c:\users\aaron\documents\visual studio 2008\projects\hw7\hw7\brain_gym.cpp(43) : fatal error C1075: end of file found before the left brace '{' at 'c:\users\aaron\documents\visual studio 2008\projects\hw7\hw7\additional.h(6)' was matched
I don't understand how namespace is a syntax error.
There is very likely a syntax error at the end of your header that is, when copied into your main file, creating the error. You may have forgotten a ; at the end of a class definition or something similar.