Powered by |
How to add console window to dialog based / SDI / MDI applicationWhile debugging an application it's often useful to have trace output window for momentary data logging rather then using
AllocConsole();
freopen("conin$", "r", stdin);
freopen("conout$", "w", stdout);
freopen("conout$", "w", stderr);
After that, all Useful links: Codeguru - Write debug output to console window
|