cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
Replace text on same line
Replace text on same line
Mar 29, 2012 at 3:56pm UTC
rozick1
(218)
I've made a countdown timer and it works fine. At the moment it displays the time till 0 on a new line (4...3..2...1....) but I want it to just have one time on one line which keeps changing.
Is this possible?
Mar 29, 2012 at 4:26pm UTC
Stewbond
(2827)
Yes, but not without a large amount of effort. You'll need to use the curses library.
http://en.wikipedia.org/wiki/Ncurses
Mar 29, 2012 at 5:46pm UTC
jl21
(2)
you can simply use carriage return without a line feed then try to overwrite your previous count
Topic archived. No new replies allowed.