Thread: Exit problem

  1. #1
    Registered User
    Join Date
    Nov 2005
    Posts
    1

    Exit problem

    (yes i am new to this)

    OK anyways whenever i write a program (most short but still), after i compile and run it, the program exits the second it is done with the last step (without letting you read what is displayed) i use the dev c++ compiler in windows xp. for a simple example say there is a program to display a message

    i click run, it opens and closes too fast to see..

    how do you fix this???

  2. #2
    ^ Read Backwards^
    Join Date
    Sep 2005
    Location
    Earth
    Posts
    282
    Last edited by Enahs; 11-28-2005 at 09:18 PM.

  3. #3
    Registered User
    Join Date
    Nov 2005
    Posts
    6
    I don't know if this will help either, but you might be able to use a system("pause");

  4. #4
    ^ Read Backwards^
    Join Date
    Sep 2005
    Location
    Earth
    Posts
    282
    Quote Originally Posted by Atlas24
    I don't know if this will help either, but you might be able to use a system("pause");
    That is one of the options in the second link I posted.

  5. #5
    Registered User
    Join Date
    Nov 2005
    Posts
    6
    Quote Originally Posted by Enahs
    That is one of the options in the second link I posted.
    Sorry >.<

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 5
    Last Post: 11-07-2005, 11:34 PM
  2. Dynamic array of pointers
    By csisz3r in forum C Programming
    Replies: 8
    Last Post: 09-25-2005, 02:06 PM
  3. searching problem
    By DaMenge in forum C Programming
    Replies: 9
    Last Post: 09-12-2005, 01:04 AM
  4. half ADT (nested struct) problem...
    By CyC|OpS in forum C Programming
    Replies: 1
    Last Post: 10-26-2002, 08:37 AM
  5. binary tree problem - help needed
    By sanju in forum C Programming
    Replies: 4
    Last Post: 10-16-2002, 05:18 AM