运行没有报错,英文没有cuo'w
string pi = "朋友"; cout << pi << endl; ` ``
#include <locale.h> _tsetlocale(LC_ALL,_T("chs")); //setlocale(LC_ALL, "chs");