STL, cout, wcout, TCHAR, unicode?



Hi,

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)
.