ios undeclared

May 16, 2011 at 7:18 AM

Hi,

    I am compiling a VC++ 6 project  in VS 2010. I am getting " error C2065: 'ios' : undeclared identifier " error. I have included iostream and ios header files. But still am getting this.. Please help me to clear this error.

Thanks in advance,

Nandhu

Coordinator
May 18, 2011 at 2:10 AM

Did you include <ios.h> or <ios>?  You're likely to get more help in a general C++ programming forum, but I'm guessing that you haven't included the correct header.