New answers tagged timer
1
vote
Accepted
Clear output line in terminal after use for countdown (different length strings)
ANSI escape sequences are not necessary, and the so-called archaic method of using a carriage return is preferred.
Avoid mixing sys.stdout with ...
2
votes
Templatizing a Timer class
I will not comment on the code itself, there is already an answer discussing the issues with the chosen clock. Instead, I want to discuss the API.
The API for your class is not easy to learn to use. ...
Top 50 recent answers are included
Related Tags
timer × 304javascript × 60
c# × 52
c++ × 45
java × 43
python × 37
beginner × 32
multithreading × 25
datetime × 23
c++11 × 19
performance × 17
jquery × 14
game × 14
c × 13
python-3.x × 10
object-oriented × 10
scheduled-tasks × 10
error-handling × 9
thread-safety × 9
swing × 9
animation × 9
android × 8
winforms × 8
benchmarking × 8
.net × 7