Upgrade to VC2010

S

sharat

Hi,
I am upgrading my project from VS2008 to VS2010. I am getting
following error while compiling my code.

error C2065: 'istream_iterator' : undeclared identifier
error C2275: 'std::string' : illegal use of this type as an expression

C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include
\xstring(263) : see declaration of 'std::string'

Can anybody help how to resolve this?

Thanks in advance.
 
J

Juha Nieminen

sharat said:
Hi,
I am upgrading my project from VS2008 to VS2010. I am getting
following error while compiling my code.

error C2065: 'istream_iterator' : undeclared identifier
error C2275: 'std::string' : illegal use of this type as an expression

C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include
\xstring(263) : see declaration of 'std::string'

Can anybody help how to resolve this?

Yes.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,009
Latest member
GidgetGamb

Latest Threads

Top