wint_t putwc(wchar_t wChar, FILE* qpStream);
#include <cwchar> int main() { using namespace std; const wchar_t* kwpName = L"XoaX.txt"; const wchar_t* kwpCurrChar = kwpName; while (*kwpCurrChar != L'\0') { // Send a wide character in the string for output putwc(*kwpCurrChar, stdout); ++kwpCurrChar; } // Output a final endline putwc(L'\n', stdout); // Keep the window open until "Enter" is pressed getwchar(); return 0; }
© 20072024 XoaX.net LLC. All rights reserved.