![]() |
#2
crsx2012-09-18 22:15
|
用c++ 6.0也是一样的提示!

#include <iostream>;
#include<locale>;
int main()
{
setlocale(LC_All,"chs");
wchar_t wt[]=L"中";
std::wcout<<wt;
}
visual c++ 2010提示: error C2065: “LC_All”: 未声明的标识符
visual c++ 6.0提示:error C2065: 'LC_All' : undeclared identifier
!
!
!
[ 本帖最后由 crsx 于 2012-9-18 20:36 编辑 ]