Tuesday, April 22, 2008

Open new command prompt for cout

If you run your library from environment that don't provide you console window for your messages you can open new one using:
AllocConsole(); freopen("CONOUT$", "w", stdout);

No comments: