46
Window / That annoying little window
« on: April 28, 2011, 01:25:10 am »Quote from: "Mjonir"
On that subject, does anyone know if it's possible to do the opposite, i.e. forcing the console to appear in GUI Application (through code)?
It would be really nice for me if it was possible to control that through code (even an ugly piece) so that I could avoid making 2 different versions of my program and control that with a bool
Why not just have a Console application?
Otherwise you'll have to use some winAPI functions to call the console window, I forget exactly how as I hate using Windows.h heh.
Don't forget you can have multiple build targets in codeblocks (or other IDE's)