C++ cout输出中文 很多朋友使用c++的 cout函数无法打印中文,有一个很简单的方法,就是cout打印std:string std:string str = "我是中文"; std:cout << str << std::endl; 这样就可以愉快的打印中文啦~