extern wostream wclog;
#include <iostream>
#include <iostream>
int main() {
using namespace std;
// We can send any content to wclog, just like wcout
wclog << L"XoaX.net" << endl;
// However, we usually reserve wclog for logging messages
wclog << L"Something that we want to log" << endl;
// Keep the window open
cin.get();
return 0;
}
© 20072025 XoaX.net LLC. All rights reserved.