C++ How do you create multifile project
Exactly how do you create multi-file project and how do you compile it in C++ using Linux?
djbsabkcb
Junior Poster in Training
92 posts since Jun 2005
Reputation Points: 14
Solved Threads: 0
A programmer that says an editor is the answer...geesh. The answer is with the include statment with something like this...
#include "fileToInclude.cpp"
For more info just look up the uses of the include in C/C++
Sauce
Junior Poster in Training
55 posts since Jul 2005
Reputation Points: 10
Solved Threads: 0
Hello,
You might also wish to look up and how to write makefiles. Unfortunately, I do not remember the exact sequence anymore, as I have moved on to system administration instead of programming, but makefiles can really make your life easier.
Christian
kc0arf
Posting Virtuoso
1,937 posts since Mar 2004
Reputation Points: 121
Solved Threads: 57