Sat
02
Aug 2014
2.5 years ago I wrote a piece of C++ code called CPrintStream - see CPrintStream - Polymorphic Printf for description. Now I updated it to version 1.1. Files to download:
PrintStream.hpp
PrintStream.cpp
What's new:
CBufferingPrintStream which formats message into a single string and passes it to another virtual function for clients that need this form.CDebugPrintStream derived from CBufferingPrintStream that prints message to OutputDebugString.OutputDebugString is a WinAPI function for passing debug messages. If debugging in Visual Studio, these messages can be viewed in Output panel. If not, they can be captured using separate, simple and free program - DebugView.