On Sat, Mar 04, 2000 at 12:10:46AM -0700, John Starkey wrote:
> I'm just using <iostream>. No h.
>
It shouldn't make a differnce. g++ keeps header files in
/usr/include/g++-<1 or 2 or 3>/
and the entire non-comment section of iostream
is
#ifndef __IOSTREAM__
#define __IOSTREAM__
#include <iostream.h>
#endif
Which is a header trick that seems to be more common to c++, that makes
the file empty if it's already been included. (Think headers that include
headers).
But it still seems kind of odd to me, since iostream.h already
wraps itself in _IOSTREAM_H . Maybe ANSI c++ says you should be able
to do #ifdef __IOSTREAM__ to check for iostream.
beats me
greg
--
this is not here
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs