摘要:
class test { private: test(); ~test(); bool EnsureDirectoryExists(const std::string& path); static const std::string filePath; }; const std::string te 阅读全文
posted @ 2024-08-01 20:38
素装写淡定
阅读(24)
评论(0)
推荐(0)
摘要:
从 UTF-8 编码到 GBK 编码的转换,通过中间步骤先将 UTF-8 转换为宽字符,再将宽字符转换为 GBK。 std::string Utf8ToGbk(const std::string& utf8) { int len = MultiByteToWideChar(CP_UTF8, 0, u 阅读全文
posted @ 2024-08-01 11:14
素装写淡定
阅读(759)
评论(0)
推荐(0)

浙公网安备 33010602011771号