programing:cpp_builder:cpp_builder-tstreamreader
差分
このページの2つのバージョン間の差分を表示します。
次のリビジョン | 前のリビジョン最新のリビジョン両方とも次のリビジョン | ||
programing:cpp_builder:cpp_builder-tstreamreader [2020/02/04 17:25] – 作成 yoko | programing:cpp_builder:cpp_builder-tstreamreader [2020/02/04 17:30] – [コーディング例] yoko | ||
---|---|---|---|
行 1: | 行 1: | ||
- | TStreamReaderを使ったUTF-8のファイルを読み込み | + | TStreamReaderを使ったUTF-8のファイル読み込み |
- | ============================================ | + | ========================================== |
+ | C++Builderで、`fgetwc`関数ではうまくカナ文字などが読み込めなかったので `TStreamReader` 関数を利用した。 | ||
コーディング例 | コーディング例 | ||
行 11: | 行 12: | ||
while (fs-> | while (fs-> | ||
{ | { | ||
- | | + | |
ShowMessage(s); | ShowMessage(s); | ||
} | } |
programing/cpp_builder/cpp_builder-tstreamreader.txt · 最終更新: 2020/02/04 17:30 by yoko