J
japh
I just started learning c++ and am at the point of using:
#include "myclass.cpp"
instead of having the class definition in the main file. But I am
getting this warning at compile time:
cat.cpp:4:19: warning: extra tokens at end of #include directive
The program compiles and runs fine, but the warning is puzzling and
concerns me. A google search returned lots of matches but no
solutions...
Any ideas? thanks
#include "myclass.cpp"
instead of having the class definition in the main file. But I am
getting this warning at compile time:
cat.cpp:4:19: warning: extra tokens at end of #include directive
The program compiles and runs fine, but the warning is puzzling and
concerns me. A google search returned lots of matches but no
solutions...
Any ideas? thanks