News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

GUI app with stdout an stderr

Started by Manolo, May 20, 2008, 10:47:07 AM

Previous topic - Next topic

Manolo

Hello

I develop on WinXP using Mingw

I want to run and debug a GUI app inside C::B
I want to see all three GUI, stdout and stderr outputs.

I can do it _outside_ of C::B using, i.e.:
D:\progs\myprog\bin\debug\myprog >res.txt 2>&1
so, stdout and stderr outputs go to res.txt. But if I want to debug
simultaneously I must use also gdb from a cmd.

How can I achieve this without using a command line, but inside C::B?

Pecan

#1
Search for AllocConsole() in MSDN. They also have an example.

http://forums.next.codeblocks.org/index.php/topic,2369.msg18720.html#msg18720