If memory serves the project ability allowed you to take several C source files and compile them into one exe.
My questions are:
1) Is that correct?
2) Will every source file have int main() or just one?
3) Is it worth using?
4) Is there a better way?
To give a run down of why I'm asking:
Developing a text based game to help get myself back into programming.
I have been building it in modules (i.e. The battle code, the exploration code, etc) and have gotten each one to work. The problem comes when I copy them into my the actual game source file, it just becomes so big its a pain to scroll up and down, so I'm trying to cut it down into more managible blocks.
One thing I did for some of the smaller stand alone functions (ie the RNG) was to put them in a header file and #include it.
Well thanks in advance for any suggestions.