How can i use sstream in MFC
I tried to use istringstream function in MFC to convert CString to Int, but failed ..... :(
Code:
CString cisbn;
int l;
.........
..........
istringstream temp(cisbn.substr(12,1));
temp>>l;
i got this error message:
E:\Temporary\mfc\b\bDoc.cpp(158) : error C2065: 'istringstream' : undeclared identifier
E:\Temporary\mfc\b\bDoc.cpp(158) : error C2146: syntax error : missing ';' before identifier 'temp'
E:\Temporary\mfc\b\bDoc.cpp(158) : error C2065: 'temp' : undeclared identifier
any help would be greatly appreciated! :)