Thread: Closing the Console w/ GLUT

  1. #1
    Registered User
    Join Date
    Jun 2006
    Posts
    47

    Closing the Console w/ GLUT

    Hello!

    I just recently got back into programming with GLUT and OpenGL. I got all my files working again, but when I execute the program, I get the correct windows program, and an MSDOS console pops up, too. How do I get rid of the console? I remember I did it somehow a long time ago, but I don't remember how.

    Thanks!
    ~Matt

  2. #2
    pronounced 'fib' FillYourBrain's Avatar
    Join Date
    Aug 2002
    Posts
    2,297
    -mwindows flag on the gcc command line
    "You are stupid! You are stupid! Oh, and don't forget, you are STUPID!" - Dexter

  3. #3
    Registered User
    Join Date
    Jun 2006
    Posts
    47
    I should have said this before, but I'm using Borland C++ Compiler, so that won't work.

    So, does anyone know how to do it with Borland?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Closing the console
    By jdmarsh2005 in forum C Programming
    Replies: 5
    Last Post: 02-24-2009, 02:59 AM
  2. Full Screen Console
    By St0rmTroop3er in forum C++ Programming
    Replies: 1
    Last Post: 09-26-2005, 09:59 PM
  3. Console Functions Help
    By Artist_of_dream in forum C++ Programming
    Replies: 9
    Last Post: 12-04-2004, 03:44 AM
  4. Getting rid of the console window in a glut application.
    By ganonl in forum Game Programming
    Replies: 0
    Last Post: 08-02-2004, 10:48 AM
  5. Just one Question?
    By Irish-Slasher in forum C++ Programming
    Replies: 6
    Last Post: 02-12-2002, 10:19 AM