2023-11-26から1日間の記事一覧
std::filesystem::pathは便利である。 文字コード変換機能が内蔵されており,macOS,windowsどちらも意図どおり動作する。 以下検証コードと実行結果である。 std::filesystem::path path1 = "あ"; const unsigned char* a = (const unsigned char*)path1.stri…
std::filesystem::pathは便利である。 文字コード変換機能が内蔵されており,macOS,windowsどちらも意図どおり動作する。 以下検証コードと実行結果である。 std::filesystem::path path1 = "あ"; const unsigned char* a = (const unsigned char*)path1.stri…