A twelve hour clock; stores hours, minutes, seconds, AM or PM. Intitial hours, mins, secs are 0 by default. User is requested for the entries. Then the clock is advanced by seconds one by one.

The user is given a statement to stop the clock such as "press a key to stop clock", then once the user has hit a key, the clock stops 'ticking' and is displayed to the user with the delay added.

I was hoping that anyone could provide me with a *simple* solution (i.e. only with classes, concrete data types and basic c++) , I posted mine earlier but it was'nt that good. Any help will be appreciated.


Thanks!