Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // apple xcode
- // paulogp
- #include <iostream>
- using namespace std;
- int main (int argc, const char * argv[])
- {
- for (int i = 0; i < 10; i++)
- {
- cout << i << endl;
- sleep(1); // 1s
- }
- cout << "done" << endl;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement