Hey I want a code for a please wait with dots in front of it (writes some and delete them and starts again) or a / or \ that rounds.
thanks
massivefermion
3
Junior Poster
Recommended Answers
Jump to PostOh you want something like a gui Progress Control, but just for text mode program. You would probably want to put the code for that in another thread while the main program (thread) is doing other things.
Jump to PostOf course, no way to do that in platform-independent manner. Probably the simplest progress bar surrogate for console applications is conio.h based class with feedback call from the (silent) main loop.
Try this improvisation:/// Progress indicator console surrogate. /// Place in conticker.h (no dependencies) class ConTicker …
All 5 Replies
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
ArkM
1,090
Postaholic
massivefermion
3
Junior Poster
massivefermion
3
Junior Poster
ArkM
1,090
Postaholic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.