Thread: too quick to read

  1. #1

    Unhappy too quick to read

    I am just starting out and i have read the tutorial but when I do a program the last output flashes on just as the window is closing. Is there some statement that pauses the program for a period of time before it ends?

  2. #2
    Still A Registered User DISGUISED's Avatar
    Join Date
    Aug 2001
    There are several ways to do this

    Try cin.get()

  3. #3
    Registered User
    Join Date
    May 2002
    I always use


    just put it before your return 0

    just don't forget to include stdlib.h

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 8
    Last Post: 03-10-2008, 11:57 AM
  2. "sorting news" assignment
    By prljavibluzer in forum C Programming
    Replies: 7
    Last Post: 02-06-2008, 06:45 AM
  3. How to read a file stream entirely into a vector?
    By jiapei100 in forum C++ Programming
    Replies: 4
    Last Post: 01-06-2008, 03:22 PM
  4. Unknown Memory Leak in Init() Function
    By CodeHacker in forum Windows Programming
    Replies: 3
    Last Post: 07-09-2004, 09:54 AM
  5. Replies: 7
    Last Post: 12-12-2001, 10:28 AM