wint_t btowc(int iByte);
#include <iostream>
#include <cwchar>
int main() {
using namespace std;
char caName[] = "XoaX.net";
// Convert and output each char as a wide char.
for (int iIndex = 0; iIndex < 8; ++iIndex) {
wcout << (wchar_t)btowc(caName[iIndex]) << endl;
}
return 0;
}
© 20072024 XoaX.net LLC. All rights reserved.