To implement a status bar like below:

[==========                ]  45%
[================          ]  60%
[==========================] 100%

I want to this to be printed out to stdout, and keep refreshing it, not print to another line. How to do this?

22 Answers
22

Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *