Click here to Skip to main content
Click here to Skip to main content
Alternative Tip

Good old & dirty printf() debugging in a non-console C++ application or DLL.

By , 26 Jul 2011
Rate this:
Please Sign up or sign in to vote.
Plain old console output is still a valuable debugging tool, even when used in a GUI application.
There are many tools here in CP that can be combined with console output like:
CConsole - a simple console for debug output[^]
Creating a console for your MFC app's debug output[^]
You can use printf, sprintf or any similar to build the output strings.


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

About the Author

Jaime Olivares
Architect Freelance (
Peru Peru

Computer Electronics professional, Software Architect and senior Windows C++ and C# developer with experience in many other programming languages, platforms and application areas including communications, simulation systems, GIS, 3D graphics and mobile platform.
Also have experience in development of electronic interfaces, specially for military applications.
Currently intensively working with Visual C# 2010 and TFS.
Can be reached at

Comments and Discussions

-- There are no messages in this forum --
| Advertise | Privacy | Mobile
Web01 | 2.8.140415.2 | Last Updated 26 Jul 2011
Article Copyright 2011 by Jaime Olivares
Everything else Copyright © CodeProject, 1999-2014
Terms of Use
Layout: fixed | fluid