T
Timothy Madden
Hello
I noticed that
wcout << "Message text";
wcout << endl;
works just fine despite wcout being a wide stream and "Message text"
being a narrow string.
How can I get the reverse working ? I want to write wide strings to
narrow streams:
cout << L"Message text";
cout << endl;
Currently this just outputs a pointer value (The address of the first
'M' in "Message text". How can I get this expression to work ?
Thank you,
Timothy Madden
I noticed that
wcout << "Message text";
wcout << endl;
works just fine despite wcout being a wide stream and "Message text"
being a narrow string.
How can I get the reverse working ? I want to write wide strings to
narrow streams:
cout << L"Message text";
cout << endl;
Currently this just outputs a pointer value (The address of the first
'M' in "Message text". How can I get this expression to work ?
Thank you,
Timothy Madden