2022-06-10 18:10
2022-06-10 18:56
2022-06-10 20:33
std::wcout.imbue( std::locale(std::locale(),"",std::locale::ctype) );
2022-06-11 17:26
2022-06-11 23:23
2022-06-12 00:32
[此贴子已经被作者于2022-6-12 06:10编辑过]
2022-06-12 06:09
2022-06-12 07:23
2022-06-12 09:20
程序代码:#include <iostream>
using namespace std;
#include <io.h>
#include <fcntl.h>
int main( void )
{
//setlocale( LC_ALL, "" );
_setmode( _fileno(stdout), _O_WTEXT );
wcout << L"汉字" << endl;
}
2022-06-12 09:23