0

Since I've started doing serious things with C I need now to know if there's a way to make console (or terminal) not appear when the program starts.

Is there a code line for this?

I'm using SDL.

enter image description here

EDIT: I use Code::blocks

pranav
  • 85
  • 9
  • 6
    I think it's called the console, and you don't want it to go away. That's where error messages and such will be printed. Minimize it and get on with your problem. – duffymo Aug 06 '15 at 00:10
  • This will probably depend on your development environment; which compiler and set up how? Also this therefore might not technically be a programming question. – Tommy Aug 06 '15 at 00:12

1 Answers1

3

In your project settings you probably specified that your application is a console application. So the IDE makes sure that a console is opened for you when you launch the program. Change your project settings to fix this.

Edit: This SO answer is what you're looking for: How to get ride of console box of a GUI program compile by MinGW + Code::Block

Alexguitar
  • 722
  • 4
  • 15