How to add a countdown timer in C++?

then you are better of with timers then with doing it in tick,
if your question was answered now, please mark this question as answered,
if you have further questions about how to do that with c++ go ahead and ask them