Re: GCC compiler in Red Hat 9

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Jan 12, 2004, Heiko Joerg Schick <info@xxxxxxxxxx> wrote:

> 1. <iostream.h> is not part of standard C++. The 1998 C++ standard
> uses <iostream> (no ".h")

Actually, it is, but deprecated.  Its effect is equivalent to #include
<iostream> followed by using statements that bring in the declarations
from iostream into the global namespace.

> 2. Both <iostream> and <string> are in the "std" namespace.

Strictly speaking, header files are not in namespaces.  It's the
declarations they introduce that are.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Happy GNU Year!                     oliva@{lsd.ic.unicamp.br, gnu.org}
Red Hat GCC Developer                 aoliva@{redhat.com, gcc.gnu.org}
Free Software Evangelist                Professional serial bug killer

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux