1. I'm not positive, but, from downloading source code on this site, it seems to me like you have to include in every source file. I'm looking at one right now with three source files and they all have stdlib.h included.
Originally Posted by w4ck0z
Though, I believe all standard libraries contain a
so I'm not sure if this is utilized when there are multiple source files.
2. Global Variables I would say should be delcared in a libary that you're gonna include in all the source files. Use Extern or whatever.
That's my two cents (count them... 1... 2) but then I'm a pretty new programmer, so don't let me be the final word.