cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
How to put functions in a header file
How to put functions in a header file
May 18, 2010 at 12:04pm UTC
mido92mashakel
(2)
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
May 18, 2010 at 12:05pm UTC
May 18, 2010 at 1:54pm UTC
RedX
(156)
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/
May 18, 2010 at 4:20pm UTC
mido92mashakel
(2)
thanks very much it really helped me a lot :)
Topic archived. No new replies allowed.