Skip to content

An application that allows users to adjust their current time.

Notifications You must be signed in to change notification settings

makaylacodes/clock-project

Repository files navigation

Clock App

Developed a console-based app that retrieves the current time in the user's location. Once retrieved, users have options to manipulate the displayed time.

Project uses following C++ concepts:

  • Functions
  • If/Else
  • Dynamic Programming
  • Why did you undertake it?

Functions

  1. void addOneHour(int&, int&, int&)
    • This function adds 1 hour to the time.
  2. int addOneMinute(int&, int&, int&)
    • This function adds 1 minute to the time.
  3. int addOneSecond(int&, int&, int&)
    • This function adds one second to the time.
  4. void display12hours(int&, int&, int&)
    • This function displays the time in a 12 hour clock format.
  5. void display24hours(int&, int&, int&)
    • This function displays the time in a 24 hour clock format.

Screenshots

clock

Setup

  1. To run the app, clone this repository.
  2. Open the terminal in your preferred IDE that has a compiler for C++.
  3. Run the debugger for the file mainclockcode.cpp and the app should open in the console.

Project Status

Project is: complete

Acknowledgements

  • This project was based on CS 210 at SNHU.

Contact

Created by @makaylacodes - feel free to contact me!

About

An application that allows users to adjust their current time.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages