a simple c++ clock

22 line code for a clock in c++ language