Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <chrono>
- #include <thread>
- int main()
- {
- for (int i{ 0 }; i < 100; ++i)
- {
- std::cout << i << '\n';
- std::this_thread::sleep_for(std::chrono::milliseconds(500));
- }
- return 0;
- }
- //std::this_thread::sleep_for(std::chrono::milliseconds(1000));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement