Click here to Skip to main content
15,881,828 members
Articles / Programming Languages / C
Alternative
Tip/Trick

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

Rate me:
Please Sign up or sign in to vote.
0.00/5 (No votes)
26 Jul 2011CPOL 9.2K   2  
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...
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.

License

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


Written By
Architect
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, PACS/DICOM (radiology), GIS, 3D graphics and HTML5-based web applications.
Currently intensively working with Visual Studio and TFS.

Comments and Discussions

 
-- There are no messages in this forum --