...ONE MORE NEWBIE QUESTION: iostream.h

Greg Chicares chicares@mindspring.com
Sat Apr 1 00:00:00 GMT 2000


stdio.h and iostream.h may be in different diretories.
Perhaps you've got both those files, but only the first
is on the include path. If so, see where iostream.h
is, and add its location to the include path. By any
chance have you specified -nostdinc or -nostdinc++? 

> I have a problem compiling simple programs using "cout" and "cin" and i need
> to #include <iostream.h>.
> The output says, that "iostream" is on found (file not found).
> BUT the <stdio.h> works fine with printf() (for example printf("hello
> world\n"))


More information about the Gcc-help mailing list