Jump to content
  • Advertisement

Archived

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

omegasyphon

another question on files

This topic is 6272 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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
Advertisement
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

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!