STL, cout, wcout, TCHAR, unicode?
- From: Gerry Hickman <gerry666uk@xxxxxxxxxxxxxxxx>
- Date: Sun, 01 Jul 2007 11:02:57 +0100
As I understand it, Microsoft's TCHAR type and _T() macro can morph between char and wchar_t depending on whether UNICODE is defined.
With STL it appears you'd have to choose std::cout or std::wcout, but there's no std::tcout. Same issue for the rest of the standard library.
Is there any way to switch the whole library between ANSI and Wide, or a better way of doing it all together?
Gerry Hickman (London UK)