Quote:
Original post by Myotis
When working on a big project, how will the final product be structured ? Will it be all in a single .ccp file like, a 100 meg text file ? Or can you create multiple programs, compile them in .obj and then link them all together ?
Thanks.
It will generally depend on the project. Most projects will be the easiest to arrange int several header (.h) and source (.cpp) files that will be compiled into a large exe. Some projects will warrant creating a separate library (either statically or dynamically linked) and use them with another exe.
Really it is whatever makes the most sense to you. You may work best with one cpp file with 100,000 lines of code, but I guarantee others will have a very difficult job following it.