![]()
| ファイル名 | 説明 |
|---|---|
| gettext.cpp | text mode で入力 |
#include <locale.h>
setlocale(LC_ALL, "japanese");
wprintf(wstr);
|
wchar_t wstr[256];
FILE *FI; //FILE の定義
if (_wfopen_s(&FI,L"GetText.cpp",L"r")!=0)
{ return; }
while(fgetws(wstr,256,FI)) wprintf(wstr);
|
![]()