I tried to use istringstream function in MFC to convert CString to Int, but failed .....
i got this error message:Code:CString cisbn; int l; ......... .......... istringstream temp(cisbn.substr(12,1)); temp>>l;
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!