Archived

This topic is now archived and is closed to further replies.

omegasyphon

another question on files

Recommended Posts

omegasyphon    100
say i have a file named func.h and func.cpp now my program runs the maing game file called main.cpp if include func.h in main.cpp how does my program know to use func.cpp?

Share this post


Link to post
Share on other sites
MSVC automatically generates a makefile which tells it about all the files in your project, this way the linker can link the functions in the func object file to your main file creating the final EXE. In MCVC you don't see any of this because it usually hides it from you.

Edited by - anonypous moster on March 21, 2001 6:21:50 PM

Share this post


Link to post
Share on other sites