Advertisement
Redee

Пример С++ - Вывод с 0,5сек задержки

Jul 14th, 2015
460
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.20 KB | None | 0 0
  1. #include <iostream>
  2. #include <Windows.h>
  3. using namespace std;
  4.  
  5. void main()
  6. {
  7.     // Пример С++ - Вывод с 0,5сек задержки
  8.     for(int n=0; n < 20; n++)
  9.     { cout << "0"; Sleep(500); }
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement