-1

Hey there, all. I just complied a program in C++ on Microsoft Windows 7 Ultimate (MinGW). The only problem is that when I run it a command prompt also runs with it in the background, and can't figure out how to remove it. Any ideas?

4
Contributors
4
Replies
5
Views
8 Years
Discussion Span
Last Post by MichaelSammels
0

The only way for us to understand your problem is for you to post your code.

0

The only way for us to understand your problem is for you to post your code.

I think a better description of the problem would help -- not the code...

0

I know this is old, but I'll post a solution and mark it solved. Compile with:

gcc -mwindows -c file.cpp -o file.exe

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.