954,496 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

c vs h header files...

i dont know why im asking this... im just curious. I have dev-cpp compiler and i was experimenting with header files and reading them expanding my knowledge... and im just wondering what the difference between a c header file and an h header file is... they seem to be doing the same thing, are they the same?
peace

Bleek
Light Poster
28 posts since Mar 2004
Reputation Points: 45
Solved Threads: 0
 

Yes they are quite the same and mainly an organising tool.They can be used for various purposes from just organisation to linking to static libs.

What's funny is somethings are so used to people use them without a thought and dont document it.(like sugar,does anyone ask what it is)

Try these :-)

http://www.cplusplus.com/doc/ansi/hfiles.html
http://www.doc.ic.ac.uk/lab/secondyear/cstyle/node5.html
http://www.iota-six.co.uk/c/j2_creating_header_files_and_library_functions.asp

FireNet
Posting Whiz in Training
258 posts since May 2004
Reputation Points: 108
Solved Threads: 7
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You