Currently stuck on how to tackle this project. I am new to c++ and I am not quite sure where to start. Can I get some help on how to structure and organize this project? I’ve included all details below. Thanks.
Directions
Develop an object-oriented programming (OOP) application to create two clocks that display simultaneously and allow for user input using secure and efficient C++ code.
- Review the Chada Tech Clocks Functional Requirements, located in the Supporting Materials section.
- Review the following flowchart, as it is a graphical representation of the logic you will use in relation to your application’s sequence of functions. A text version of this flowchart is available: Project One Flowchart Text Version.
Title: Clocks Flowchart
Top of chart begins: “Start Program” (Terminator)
- “Read User Input.” (Process)
- “Display Menu” (Process)
- “Add Hour?” (Decision)
- “Add Hour” (Process)
- “Add Minute?” (Decision)
- “Add Minute” (Process)
- “Add Second?” (Decision)
- “Add Second” (Process)
- “Display Time HH:MM:SS” (Process)
- “Exit Program?” (Decision)
- If “No”
- “Read User Input” (Process)
- “Display Menu” (Process)
- If “Yes”
- “Read User Input” (Process)
- “End Program” (Terminator)
- If “No”
Note: This assignment represents a simulation of clock functionality. It does not need to display your local time zone, and it does not need to run in real time or tick.
- Your code should be properly modularized and written in functions so that your main() has the least amount of code.
- Before you begin coding, remember that you must demonstrate industry standard best practices in all your code to ensure clarity, consistency, and efficiency. This includes:
- Inserting in-line comments to denote your changes and to briefly describe the functionality of the code
- Using appropriate variable, parameter, and other naming conventions throughout your code
- When your solution is finished, zip your project including all components (CPP, H, and any other files used).
Functions that need to be included:
- function to format numbers as two digits
- function that repeats the ‘*’ to use in formatting your programs output
- function that outputs time using 24-hour time format.
- function that outputs time using 12-hour time format
- function that prints out the menu illustrated in the project and functional requirements documentation.
- function that processes user input from the menu choices in the user interface.
- function that displays BOTH 12- and 24-hour time formats on the interface at the same time.
- main function (main.cpp) to control your program.
- function to add a second to the clock’s time
- function to add a minute to the clock’s time.
- function to add an hour to the clock’s time