devxlogo

Wide-char File Streams

Wide-char File Streams

The library supports two types of file streams: char-based streams such as std::ifstream and whcar_t streams. The names of wchar_t streams are the same as their char-based counterparts, except that they begin with a w. For example: std::wifstream, and std::wofstream. Remember that wide character files still may not have wchar_t names, as standard C++ doesn’t support wchar_t filenames:

 wofstream(

devx-admin

Share the Post: