int wprintf(const wchar_t* kwpFormatString, ...);
#include <cwchar> int main() { const wchar_t kwaWideString[] = L"XoaX.net"; // Output a formatted wide string int iCharWritten = wprintf(L"Name: %ws\n", kwaWideString); wprintf(L"Wrote %d characters\n", iCharWritten); // Keep the window open until "Enter" is pressed getwchar(); return 0; }
© 20072024 XoaX.net LLC. All rights reserved.