Hello,

[EMAIL PROTECTED] wrote:

> #include "iostream.h"

#include <iostream.h>

For header files installed at system level use <...>.
For your own use "...". That's the idea. See the docs for details.

But probably this is not the cause for your problem, usually the "..."
vs. <...> only influences the order paths are searched for a file. If
g++ cannot find the files of its own std library, then the installation
is foul, or some settings are wrong, or ...

You write windows XP, do you have by accident some files which have
conflicts module upper/lower case. e.g. IOStream.h, iostream.h. I once
ran into a problem with "String.h" on a windows filesystem, an
unforgettable experience.

Try the -M options to get a summary which headers are taken from where.

BTW iostream.h invokes pre-standard headers, which are deprecated. The
following is the way it should be:

#include <iostream>
int main()
{
    std::cout << "Hello...\n";
}

Bernd Strieder

_______________________________________________
help-gplusplus mailing list
help-gplusplus@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gplusplus

Reply via email to