Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

header files in C

Name: Anonymous 2007-06-23 21:40 ID:HRBo/NOe

Should you have to include a header file into its own library? I can't understand why I sometimes, but not always, get compile errors because it's not getting the header file prototypes before it compiles the libraries.

Name: Anonymous 2007-06-23 22:04 ID:moow8DUG

Uh, C doesn't need prototypes. All functions are assumed to return machine-word sized ints, and take variable number of args. Additionally, all functions are 'global' unless declared as static, whereby they're only visible in the unit module they're defined in. Any symbols which can't be resolved at compile-time are done so at runtime.

Then again, I have no idea what OP is trying to ask.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List