Hi,
I'm coding a task monitoring, which updates tasks' progress using cout. I'd like to display one task progress per line, therefore I have to rollback several lines of the console.
I insist on "several" because '\b' does the job for one line, but does not erase '\n' between lines.
I tried std::cout.seekp(std::cout.tellp() - str.length()); but tellp() returns -1 (failure)...
Thanks in advance.
Regards,
Mister Mystère.