I use MFC for an appliction but I want to show some results in command prompt. Do you know how I can do it, or an efficient alternative way?
I use MFC for an appliction but I want to show some results in command prompt. Do you know how I can do it, or an efficient alternative way?
I found the solution. It's merely two lines.
Code:AllocConsole(); freopen ("CONOUT$", "w", stdout );