Guest User

Untitled

a guest
Oct 1st, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. #include <iostream>
  2. #include <windows.h>
  3.  
  4. using namespace std;
  5.  
  6. int main()
  7. {
  8. int boucle = 1;
  9. cout << "Animation : ";
  10. do {
  11. cout << "|" << '\b';
  12. Sleep(100);
  13.  
  14. cout << "/" << '\b';
  15. Sleep(100);
  16.  
  17. cout << "-" << '\b';
  18. Sleep(100);
  19.  
  20. cout << "\\" << '\b';
  21. Sleep(100);
  22. } while (boucle = 1);
  23. }
Advertisement
Add Comment
Please, Sign In to add comment