-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdisplayMenu.hpp
More file actions
40 lines (26 loc) · 1.09 KB
/
displayMenu.hpp
File metadata and controls
40 lines (26 loc) · 1.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/*******************************************************************************
* ** Author: Gavin Slusher
* ** Date: 6/2/2019
* ** Description: Menu file. Contains functions to display different menus or
* ** prompts and return a char if they are meant to be used in a
* ** switch statement- which will have it's own input validation.
* ** If necessary, the prompts have their own input validation
* ** as well.
* ** *************************************************************************/
#ifndef DISPLAYMENU_HPP
#define DISPLAYMENU_HPP
#include "inputValidation.hpp"
#include <string>
using std::string;
int displayMenu();
char cabinChoice();
char endChoice();
char movement();
void clearScreen();
void enterToCont();
int promptInt(string& promptIn, const int MAX_INT, const int MIN_INT);
int promptPosInt(string& promptIn);
double promptDouble(string& promptIn, const int MAX_INT, const int MIN_INT);
std::string promptString(string& promptIn);
int returnRandInt(const int MAX_INT, const int MIN_INT);
#endif