Posted 12 September 2008 - 10:21 PM
so, i got a project,
main is in main.cpp
i have a bunch of functions that are used everywhere, the declarations in func.hpp, and the definitions in func.cpp.
at the top of main.cpp, and in func.cpp, i have #include "func"
when i compile the project, there are only 2 files under the word "project": main.cpp and func.cpp, HOWEVER, i do have func.hpp in the same directory
do i have it right so far?
if so, heres my beef:
in the past i have included other files such as iostream, but i have never had, under the word "project", the file iostream.cpp