Thread: mingw dev studio, question

  1. #1
    Registered User
    Join Date
    May 2004
    Posts
    3

    mingw dev studio, question

    when i create a console program in mingw developer studio why when i run it does it say terminated with return code 0 at the end of the program and is there any way of disabiling it?

    Also it automaticly includes the system pause statment i beleave, as when i run it, it will say press any key to continue at the end of the program is there any way of disabiling this also so i have to put it in manualy when i want it?

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,656
    Well if you run your program from say explorer, say by double clicking on the executable, then you won't get "terminated with return code 0"
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  3. #3
    Registered User
    Join Date
    May 2004
    Posts
    3
    You are right. i was wondering why dev studio did that but dev-cpp didn't, thanks.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Testing some code, lots of errors...
    By Sparrowhawk in forum C Programming
    Replies: 48
    Last Post: 12-15-2008, 04:09 AM
  2. Another syntax error
    By caldeira in forum C Programming
    Replies: 31
    Last Post: 09-05-2008, 01:01 AM
  3. We Got _DEBUG Errors
    By Tonto in forum Windows Programming
    Replies: 5
    Last Post: 12-22-2006, 05:45 PM
  4. SystemTray class
    By jair in forum C++ Programming
    Replies: 2
    Last Post: 07-28-2003, 06:27 PM
  5. simple visual studio question
    By laasunde in forum Windows Programming
    Replies: 1
    Last Post: 01-22-2003, 06:07 AM