User forums > Using Code::Blocks
GUI app with stdout an stderr
(1/1)
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:
Search for AllocConsole() in MSDN. They also have an example.
http://forums.codeblocks.org/index.php/topic,2369.msg18720.html#msg18720
Navigation
[0] Message Index
Go to full version