合集-C&C++

摘要:可以使用 `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 阅读(147) 评论(0) 推荐(0)
摘要:自己动手写一个C++日志库 logger.h // // Created by Fkkt on 2023/9/8. // #pragma once #include <string> #include <iostream> #include <fstream> #include <chrono> # 阅读全文
posted @ 2023-09-09 09:36 fkkt-55 阅读(223) 评论(0) 推荐(0)