摘要: 可以使用 `locale` 库来解决该问题,解决方案如下: ```cpp #include #include int main() { std::locale::global(std::locale("en_US.UTF-8")); std::cout << "你好"; return 0; } `` 阅读全文
posted @ 2023-06-26 11:14 fkkt-55 阅读(64) 评论(0) 推荐(0) 编辑