newbie!
Alex J. Dam
alexjdam@yahoo.com.br
Sat Jan 31 18:23:00 GMT 2004
rurik leffanta scripsit:
> i'm attempting to write my vewy first c++ prog....
>
> in order to perform iostream operations, i have to #include <iostream>
>
> yes? yes. :p (or iostream.h, depending on tutorial..)
>
Yes. C++ programs should #include <iostream>
> however, 'iostream' is not at the top of my include folder. i am using
> mingw 3.1.0-1 (and have successfully compiled example scripts) - the path
> for iostream with this install is include/c++/3.2.3
>
Make sure you're compiling using "g++", not "gcc". This is a common problem.
> i've tried adding the path to the include statement, putting .h at the end
> of iostream..
In my system, g++ looks for them in the right places; I never have to pass the
locations to the compiler.
>
> sheesh! should i copy everything from the subfolders and put it in the main
> folder? what do i have to do here?
> --
> http://home.earthlink.net/~plattermatic
> http://www.panicnow.net/~xoxos
--
Alex J. Dam
"Oh, I got plenty o' nuttin',
an' nuttin's plenty fo' me"
-- Porgy
More information about the Gcc-help
mailing list