Have a look Mats:
Code:#include <iostream>
#include <string>
#include <sstream>
using namespace std;
int main()
{
sringstream sinout;
sinout << "number: " << 13 << "is un-unlucky!";
string s;
sinout >> s;
cout << s << endl;
return 0;
}
Quote:
error C2065: 'sringstream' : undeclared identifier
c:\my\src\cpp\test-bed\test-bed.cpp(94) : error C2146: syntax error : missing ';' before identifier 'sinout'