Clock Assignment in Micorsoft Visual C++ 6.0 Write a 12-hour clock application that uses a class named clock to store hours, minutes, seconds and the meridian data element (AM or PM). Provide functions to perform the following: § Set the time to 12:00:00 AM by default. § Initialize the time (hh:mm:ss:meridian) from user entries . § Display the current in the format hh:mm:ss AM/PM. § Run the clock by calling member function Tick(), which advances the clock by one second for each time it’s called. This function also advances and resets hours, minutes, seconds and flips the meridian value appropriately (Don’t forget that you are free to write private functions to do some of the work. In fact, I encourage it!). Implement this class in a file named “clock.h??. Write a main() function ([login to view URL]) that instantiates one object of class clock and performs the following: § Display the time to prove that the object initializes itself to 12:00:00 AM. § Set the time to 11:59:55PM. § Execute a for-loop that runs 10 times, calling the tick() function followed by the display() function. The displayed time should, of course, show the hours, minutes, seconds, and meridian change and reset appropriately. Project name is “Clock??.
## Deliverables
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request. 3) Complete ownership and distribution copyrights to all work purchased.
## Platform
Windows 98, 2000