ios undeclared

May 16, 2011 at 8:18 AM


    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,


May 18, 2011 at 3: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.