C++ dynamic value
i will give a good example of what i want. the UHARC archivation program (console version) has two % values, the progress of current file and the total progress. these values are changing as the proccess goes. is this possible to do in C++? friend told me that i cannot do this, i need to use OS functions to work with the terminal. but where can i find these functions? is it system(); command ?? thanks.
You could just have an accumulator variable (or two in your case) which accumulates a new % every second or so… :S
EX:
at 4:20:00 the percent complete is 50% at 4:20:01 the percent complete is 51%
Something like that…although I'm not sure if that's what you're looking for. Even if it's not, at least I'm getting some ideas out there for you to run with, right? :)