![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: Nov 2008
Posts: 18
Rep Power: 0
![]() |
plz give an example which uses sleep command.....
|
|
|
|
|
|
#2 |
|
Game engine designer
Join Date: May 2005
Location: Sweden
Posts: 349
Rep Power: 9
![]() |
Re: sleep command
#include <Windows.h>
int main() { Sleep(1000); return 0; }
__________________
http://klarre.se/ |
|
|
|
|
|
#3 |
|
Newbie
Join Date: Nov 2008
Posts: 18
Rep Power: 0
![]() |
Re: sleep command
plz make me more clear....by giving the output.........
|
|
|
|
|
|
#4 |
|
Expert Programmer
|
Re: sleep command
Sleep() doesn't have an output, Sleep() pause the exectution of the program for the given number of milli seconds
http://www.google.co.uk/url?q=http:/...pvffG-Sr_MbYcA Chris
__________________
Steven Skiena - Algorithms ,[->+>+<<]>>[-<<+>>]>++++++++[-<++++++++>]<+[-<->]>+<<[[-]+++++++++++++++.[-]>]>>[+++++++++.[-]],brainf**k -- It's such a pretty language |
|
|
|
|
|
#5 |
|
The X God
|
Re: sleep command
#include<sleep.h>
int sleep(leftSide, Face){ Sleep(10); std::cout << "zZz"; }
__________________
When will Jesus bring the porkchops? |
|
|
|
|
|
#6 | |
|
Hobbyist Programmer
Join Date: May 2006
Location: Gothenburg, Sweden
Posts: 113
Rep Power: 8
![]() |
Re: sleep command
Quote:
c++ Syntax (Toggle Plain Text)
__________________
Don't comment bad code - rewrite it. - The Elements of Programming Style (Kernighan & Plaugher) |
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| C Command Reference | Schilcote | C | 3 | Nov 12th, 2008 7:16 PM |
| Trying to pipe output system command results directly into a variable | VernonDozier | C++ | 5 | Jan 6th, 2008 2:39 AM |
| Command Prompt | SkyPioneer | Coder's Corner Lounge | 5 | May 3rd, 2006 10:07 PM |
| A simple script to execute a command package | satimis | Bash / Shell Scripting | 3 | Aug 12th, 2005 11:28 PM |
| system () command in Borland C++ Bldr. 4 | L7Sqr | C++ | 14 | Jun 18th, 2005 8:15 PM |