Thread: Pause Function

  1. #1
    Registered User
    Join Date
    Mar 2008
    Posts
    7

    Question Pause Function

    I have a question, I need to know if A pause function is user created or a standered library function?

  2. #2
    Registered User
    Join Date
    Mar 2008
    Posts
    7
    Such as I want the program to pause for a couple seconds, displaying a copy right screen and than, moving on.

  3. #3
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Platform specific only.
    For Windows, it's Sleep, for Linux it's sleep, I believe (note: case sensitive).
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  4. #4
    and the hat of sweating
    Join Date
    Aug 2007
    Location
    Toronto, ON
    Posts
    3,545
    Quote Originally Posted by Elysia View Post
    Platform specific only.
    For Windows, it's Sleep, for Linux it's sleep, I believe (note: case sensitive).
    Another difference other than the case is that on Windows you specify the number of milliseconds to sleep, while on UNIX you specify the number of seconds.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 4
    Last Post: 05-13-2011, 08:28 AM
  2. doubt in c parser coding
    By akshara.sinha in forum C Programming
    Replies: 4
    Last Post: 12-23-2007, 01:49 PM
  3. Problem with Visual C++ Object-Oriented Programming Book.
    By GameGenie in forum C++ Programming
    Replies: 9
    Last Post: 08-29-2005, 11:21 PM
  4. c++ linking problem for x11
    By kron in forum Linux Programming
    Replies: 1
    Last Post: 11-19-2004, 10:18 AM
  5. Replies: 5
    Last Post: 02-08-2003, 07:42 PM