#include <tchar.h>//for _T macro
#include <iostream>
#include <string>
using namespace std;
int main()
{
string a = "dd/n";
cout<<a;
wcout.imbue(locale("CHS"));//for out chinese
wcout<<_T("chinese ")<<endl;
wcout<<_T("中文输出")<<endl;
system("pause");
return 0;
}