mingw dev studio, question

This is a discussion on mingw dev studio, question within the C++ Programming forums, part of the General Programming Boards category; when i create a console program in mingw developer studio why when i run it does it say terminated with ...

  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 wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,671
    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.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  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, 03: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, 04: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, 05:07 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21