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


Multiple source files?

Recommended Posts

Place function and structure declarations in header (.h, .hxx, .hpp) files, and implementations in source (.c, .cxx, .C, .cpp) files. Use the extern keyword to create global (shared) variables.

Look up extern, header file, source file and ,tt>multi-file linking in a MSDN Online or at

[ GDNet Start Here | GDNet FAQ | MS RTFM | STL | Google ]
Thanks to Kylotan for the idea!

Share this post

Link to post
Share on other sites