Thread: ifi_utilities.c
View Single Post
  #2   Spotlight this post!  
Unread 28-10-2003, 21:03
Jeremy_Mc's Avatar
Jeremy_Mc Jeremy_Mc is offline
GitHubber
no team
Team Role: Mentor
 
Join Date: Feb 2002
Rookie Year: 2002
Location: Orlando, FL
Posts: 496
Jeremy_Mc will become famous soon enoughJeremy_Mc will become famous soon enough
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