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

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.