天天看点

wstring 未定义的标识符,include <string>

wstring str = L"abcd";

VS2010提示 wstring未定义的标识符,include <string>后仍然提示。

因为没有使用using namespace std; 使用std命名空间。在文件头部,添加上就可以。

继续阅读