Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <windows.h>
- using namespace std;
- int main()
- {
- int boucle = 1;
- cout << "Animation : ";
- do {
- cout << "|" << '\b';
- Sleep(100);
- cout << "/" << '\b';
- Sleep(100);
- cout << "-" << '\b';
- Sleep(100);
- cout << "\\" << '\b';
- Sleep(100);
- } while (boucle = 1);
- }
Advertisement
Add Comment
Please, Sign In to add comment