2022年6月3日
摘要:
解决scanf和gets在代码页65001下的乱码问题 1.字符集 使用 Unicode 字符集 必须 2.不要使用system("chrp 65001") 用 ::SetConsoleOutputCP(65001); 代替 3.gets_s(SC_Input, MEM_PAGE); 系统默认编码G 阅读全文
posted @ 2022-06-03 21:38
Ksa-NL
阅读(184)
评论(0)
推荐(0)