c++ programming

Discussion in 'C++' started by raghav, Nov 27, 2008.

  1. raghav

    raghav New Member

    Joined:
    Jun 25, 2007
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    0
    Occupation:
    None
    Location:
    Australia, NSW, North Rocks, 2151
    Hi everybody, just wanted some help with a program i wrote when i came up to a stage were you have to put the System("Pause"); in it. Because some other sites use these lines like: sleep[50] instead of system("pause");, i am abit confused what to put in, which one to put in and how do they both differ? some people also put in sleep[4] instead of sleep[50], others aswell....

    Thanks:sosp:
     
  2. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,375
    Likes Received:
    388
    Trophy Points:
    83
    sleep[50] is declaring some arrays and probably you should say sleep(50)
     
  3. raghav

    raghav New Member

    Joined:
    Jun 25, 2007
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    0
    Occupation:
    None
    Location:
    Australia, NSW, North Rocks, 2151
    Ok thanks.:nice:
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice