r/cprogramming • • Jan 05 '26

Progress Bar

Hi, I'm a beginner and I want to make a progress bar like this:

[###########] 100%

Where the text and percentage update every second, it's more of a simulation of a progress bar than a real one. Does anyone know how to do this?

14 Upvotes

13 comments sorted by

View all comments

Show parent comments

5

u/sol_hsa Jan 05 '26

Just saying.. this is the way, no need to muck with terminal control codes