0

Hi i'm new to c++. I can sort of make simple programs, but everytime i try to making a program with a GUI the black windows box keeps coming up and sitting in the background.

Does anyone know how to get rid of it?

I've found some snippets on other websites, but they don't seem to work. I'm using DEV C++, is it something to do with how i'm compiling it??

Thanks,

3
Contributors
4
Replies
6
Views
13 Years
Discussion Span
Last Post by dj_saxy
0

Yes i'm compiling it as an .exe and it it runs fine. It just has a cmd-style window in the background. Do you know how i can get rid of it?

0

>Yes i'm compiling it as an .exe and it it runs fine.
That doesn't answer the question. When you create a project in Dev-C++ you can choose a Win32 application or a Console application. You chose a console application, which automatically spawns a command prompt window for running the program. A Win32 application does not.

0

Ah ha that would be where my problem is then!! Sorry, just a n00b being retarded!!

Thanks

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.