Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <windows.h>
- void gotoxy ( int column, int line )
- {
- COORD coord;
- coord.X = column;
- coord.Y = line;
- SetConsoleCursorPosition(
- GetStdHandle( STD_OUTPUT_HANDLE ),
- coord
- );
- }
- for i in range(10):
- print("Loading" + "." * i)
- doSomeTimeConsumingProcessing()
- sys.stdout.write("