Thread: slow down .exe for assignment

  1. #1

    Unhappy slow down .exe for assignment

    hi plz help if u can,
    i have made a programm in c++ for an assignment now that a have finished it i have made it into a exe,
    but the problem is after all the inputs are in it displays the outputs and exits the program realy quick what can i do to make it display the outputs and exit after they have been seen ?????????????



  2. #2
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Try using getchar() from the cstdio header file after the last print. That way the program requires the user to hit enter before the program terminates.

    My best code is written with the delete key.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 13
    Last Post: 12-09-2008, 11:09 AM
  2. .exe size with MinGW
    By Stabbsy in forum C++ Programming
    Replies: 3
    Last Post: 11-16-2006, 06:07 AM
  3. slow game
    By lambs4 in forum Game Programming
    Replies: 2
    Last Post: 08-21-2003, 02:08 PM
  4. Solutions for slow performance?
    By Hunter2 in forum Game Programming
    Replies: 52
    Last Post: 08-24-2002, 10:04 AM
  5. Problem creating .exe files
    By Unregistered in forum C Programming
    Replies: 1
    Last Post: 03-22-2002, 02:25 PM