istringstream

  • Thread starter Thread starter ShipHead
  • Start date Start date
S

ShipHead

I can't seem to get this to compile...
(Perhaps I'm missing a header file)

std::string htmlMsg;
std::istringstream iss(htmlMsg);

error C2065: 'iss' : undeclared identifier

This is a c++ console application.
 
ShipHead said:
I can't seem to get this to compile...
(Perhaps I'm missing a header file)

std::string htmlMsg;
std::istringstream iss(htmlMsg);

What header files have you included? You need <string> and <sstream> at
least.

-cd
 

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

Back
Top