|Re: [cdt-dev] Can not use <iostream> but <iostream.h>|
On Fri, May 22, 2009 at 5:14 PM, Sergey Prigogin <eclipse.sprigogin@xxxxxxxxx> wrote: > > > On Fri, May 22, 2009 at 2:40 AM, Steven Woody <narkewoody@xxxxxxxxx> wrote: >> >> Hi, >> >> I am using Eclipse Cpp Galileo M7. After I created a project from the >> HelloWorld template c++ project, i then inserted an inclusion line >> #include <iostream> >> in the main cpp file. But this created a red warning line of >> "Unresolved inclusion". I can clear the warning only by write it as: >> #include <iostream.h> >> but this is not a correct method according to c++ language! >> >> What's wrong with my operations? Thanks. > > iostream should be located > in c:\cygwin\lib\gcc\i686-pc-cygwin\3.4.4\include\c++, not > in c:\cygwin\lib\gcc\i686-pc-cygwin\3.4.4\include\c++/backward. Do you have > it in the include path? :) I think i get it, thanks!
Back to the top