- 272 名前:デフォルトの名無しさん [2007/06/09(土) 01:52:08 ]
- windows環境でTCHARに対応した標準出力へのiostreamを使いわけるようにしたいわけですが
#ifdef UNICODE #define tcout wcout #define tcin wcin #define tcerr wcerr #define tclog wclog #endif #ifdef _MBCS #define tcout cout #define tcin wcin #define tcerr wcerr #define tclog wclog #endif のようにtc*を定義するのは良くないんでしょうか? もしそうであるならば、大体案としてはどのようなものがありますか?
|

|