Console loading bar?

How would I make something like...

[= ]
[== ]
[=== ]
[==== ]

And so on? How do I make a cool loading bar?
closed account (zb0S216C)
You'd have to clear the console/terminal window, and then print the contents again to do that; the call is dependent on the OS.

Wazzak
use delay function to help u and use the clear function to clear the screen and display the updated bar again :)
Toshitaka wrote:
use delay function to help u

What's the point in having a loading bar if you don't do anything useful while showing it?
^ It's running in another thread
Topic archived. No new replies allowed.