天天看點

wstring 未定義的辨別符,include <string>

wstring str = L"abcd";

VS2010提示 wstring未定義的辨別符,include <string>後仍然提示。

因為沒有使用using namespace std; 使用std命名空間。在檔案頭部,添加上就可以。

繼續閱讀