|
It's really just the way most C programs are structured. Since it's a library, it's a .C file. Header files are usually used for prototyping functions, declaring GLOBAL variables and constants, and including/requiring the needed source files.
It's not mandatory that the code be in a .C file (I think...), but it's just the standard way to do things...
__________________
GitHub - Collaborate on code, documentation, etc. - http://github.com
|