http://codeguru.earthweb.com/misc/redirect.shtml
You can specify a console for console application so that it doesn't create a new console as it runs. Related API:AllocConsole, CreateProcess.
Or you can redirect their output to somewhere else in order to solve your problem. Hope the following links are useful to you.
http://codeguru.earthweb.com/console/QuickWin.shtml
---------------------------------------------------------------