Bag
0.91
|
#include "io_functions.h"
Go to the source code of this file.
Functions | |
void | printMenu () |
int | getInt () |
string | getItem () |
Contains C++ functions for printing menus, reading input values, etc.
Definition in file io_functions.cpp.
int getInt | ( | ) |
Reads, validates, and returns a positive integer
Definition at line 30 of file io_functions.cpp.
Referenced by getBagNum().
string getItem | ( | ) |
Prompts for a bag item and returns it to caller
Definition at line 46 of file io_functions.cpp.
Referenced by processOption().
void printMenu | ( | ) |
Prints main program menu
Definition at line 16 of file io_functions.cpp.
Referenced by main(), and processOption().