wchar_t Ch = L'中'; // 这个应该可以,如果不行,请换IDE
#include <stdio.h> #include <locale.h> wchar_t Ch=L'中'; int main() { setlocale(LC_ALL,"chs"); wprintf(L"[%c]\n",Ch); return 0; } //[中] //
65,186
社区成员
250,526
社区内容
加载中
试试用AI创作助手写篇文章吧