Click here to Skip to main content
11,641,971 members (62,067 online)
Click here to Skip to main content

Tagged as

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

, 26 Jul 2011 CPOL 4.4K 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...

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

25 Jul 2012
pasztorpisti
2 alternatives  
How to open a console in a non-console C/C++ application or DLL and make printf/scanf work (stdin/stdout/stderr related functions)
26 Jul 2011
Dave Cross
I just use OutputDebugString() and Sysinternals' DebugView.exe.

License

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

Share

About the Author

Jaime Olivares
Architect Freelance (jaimeolivares.com)
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 C# 2013 and TFS.

| | Privacy | Terms of Use | Mobile
Web03 | 2.8.150731.1 | Last Updated 26 Jul 2011
Article Copyright 2011 by Jaime Olivares
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid