Download source files - 3 Kb
This is some simple, but useful code for STL users. It defines some TCHAR
compatible elements
of STL:
_tstring - wstring or string
_tostream - wostream or ostream
_tistream - wistream or istream
_tcout - wcout or cout
_tcin - wcin or cin
_tcerr - wcerr or cerr
_tclog - wclog or clog
It gives you a
std::ostream
to dump objects into the debugger window,
some string functions and adds support for
__int64
types.
No really fancy stuff, but you may need it :-)
Daniel Lohmann (
daniel@losoft.de) is Assistant Professor at the
Distributed Systems and Operating Systems department at Friedrich-Alexander-University Erlangen-Nuremberg, Germany. His main research topic is the design of a highly customizable and scalable operating system product line for deeply embedded systems using static configuration and aspect-oriented techniques. Before joining Universität Erlangen he worked as a freelance trainer and consultant for NT system programming, advanced C++ programming and OOA/OOD. He is interested in upcoming programming techniques like aspect-oriented programming, generative programming and C++ meta coding and has written some nice and handy tools for Windows NT which you can download at his
web site.