This is a program of a wall clock displayed in turboC using graphics header
code link
- The program displays the current time with the help of gettime function found in dos header
- It has a moving pendulum
- Colour switch after half oscillation by the pendulum
- Just like most analog clocks, all three hands i.e hour hand , minutes hand and seconds hand, are shown
- It also has a digital clock embedded within the analog clock for those who don't know to read time from analog clocks
- Run in TurboC or codeblocks
- Change the bgi location according to your setup