header files

Jan 31, 2010 at 4:30pm
what is the difference between #include<iostream> and include"iostream" or include<iostream.h> do these symobls <> do different things than these "" and is .h neccisary? thx :)
Jan 31, 2010 at 4:32pm
As far as I can tell..you always want to use

 
#include <iostream> 


Based off what I can tell..the
#include "whatever.h" is a way of loading up header files that you make with your own functions..and some other situations..like window.h or something.
Most standard ones are like the first example. Some special ones are like the 3rd example.
Jan 31, 2010 at 4:35pm
thx
Jan 31, 2010 at 6:00pm
the header files are used as such:

#include <iostream> - standard library files.
#include<*********> - used as a facility for gathering source program fragments together into a single file for compilation.

source -- The C++ Programming Language
Bjarne Stroustrup
Topic archived. No new replies allowed.