wofstream Fails in VC++ 6.0
The following code does not work in VC++ 6.0 SP6:
wchar_t ch = 9888;
wout << L"test1"
wout << ch;
wout << L"test2";
When I run the code(with the appropriate include and using statements), it does not successfully output the character or test2 in the console. This problem is a known problem with wide characters that use the second byte according to this article http://support.microsoft.com/default...b;en-us;274012 . However, it was supposedly solved in SP5. Does anyone know why this is still failling even with the SP6 upgrade?
Is there anything I can do to solve the problem? The wout.clear() is not an option because I am output entire wstrings that may contain characters that do not display properly because of this bug.
Thanks for any help.