1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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,293
    Likes Received:
    365
    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