Original Post
🔒 Locked
Multiple source files?
Advertisement
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 Cplusplus.com.
[ GDNet Start Here | GDNet FAQ | MS RTFM | STL | Google ]
Thanks to Kylotan for the idea!
Look up extern, header file, source file and ,tt>multi-file linking in a MSDN Online or at Cplusplus.com.
[ GDNet Start Here | GDNet FAQ | MS RTFM | STL | Google ]
Thanks to Kylotan for the idea!
Topic Locked
This topic has been locked by a moderator. New replies are not allowed.
Sign in to reply to this topic.
Advertisement