Add project files.
This commit is contained in:
parent
12976a36f6
commit
fc6f36a06c
11 changed files with 718 additions and 0 deletions
23
Project1/main.cpp
Normal file
23
Project1/main.cpp
Normal file
|
@ -0,0 +1,23 @@
|
|||
/*
|
||||
* Clock app for Project One
|
||||
* main.cpp
|
||||
*
|
||||
* Date: 2022/03/16
|
||||
* Author: Cody Cook
|
||||
*/
|
||||
|
||||
#include "Clock.h"
|
||||
#include "Menu.h"
|
||||
|
||||
void main()
|
||||
{
|
||||
// call for initial setting of time
|
||||
setTime();
|
||||
|
||||
// while the user hasn't exited, show the menu and give menu options
|
||||
while (menuCommand != "exit")
|
||||
{
|
||||
printMenu(menuItems, 4, 26);
|
||||
mainMenu();
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue