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
 
Back
Top