What is a header file?

What is a header file and how do I write one?
Header file is a text file. The text is C++ code, of course. Technically you could put anything in it, but it is best to only put declarations of classes and functions in it. See http://www.cplusplus.com/articles/Gw6AC542/
Topic archived. No new replies allowed.