How to put functions in a header file

I 'm new in C++ :
I wanted to know what is the difference between header file and library
and how i can make functions and save them like "cout" and "cin" in IOSTREAM.h


Note : I'm using Borland C++ 4.5
Last edited on
library are precompiled functions. Header files have the forward declarations of the functions available in the libraries.

Maybe this can help clarify things about headers. Btw headers in C and C++ work the same way.
http://www.learncpp.com/cpp-tutorial/19-header-files/
thanks very much it really helped me a lot :)
Topic archived. No new replies allowed.