I'm trying to learn a little by looking at source codes from free downloaded programs.
There's a bunch of .cpp files and .h files, but I'm not sure of how to compile all the files into one .exe so I can see the actual program.
Sorry for the newb questions
A simple approach is this:
1) download the .cpp and .h files.
2) compile (but don't link) all the .cpp files
4) link everthing together.
Of course you can structure this a bit more, i.e.2) stick all the .o files (or .obj
files if you're being torured by microsoft) in a library (.a or .lib files)
kind regards,
Jos