Click here to Skip to main content
Click here to Skip to main content
Alternatives (2)

Tagged as

Good Old & Dirty printf() Debugging in a Non-console C/C++ Application or DLL

, 25 Jul 2012 CPOL
How to open a console in a non-console C/C++ application or DLL and make printf/scanf work (stdin/stdout/stderr related functions)

Alternatives

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

26 Jul 2011
Dave Cross
I just use OutputDebugString() and Sysinternals' DebugView.exe.
26 Jul 2011
Jaime Olivares
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...

License

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

Share

About the Author

pasztorpisti
Software Developer (Senior)
Hungary Hungary
No Biography provided

| | Privacy | Terms of Use | Mobile
Web04 | 2.8.141216.1 | Last Updated 25 Jul 2012
Article Copyright 2011 by pasztorpisti
Everything else Copyright © CodeProject, 1999-2014
Layout: fixed | fluid