school/cs142/smcquay/lab08/menu.h

31 lines
563 B
C
Raw Normal View History

2016-04-06 20:45:34 -07:00
#ifndef __MENU_H__
#define __MENU_H__
#include <string>
#include <vector>
#include <ostream>
using namespace std;
#include "people.h"
const vector<string> menu_items = {
"(a)dd person",
"(d)isplay",
"(m)ake connection",
"(b)reak connection",
"(c)hange food",
"(s)how food friends",
"(e)xtra credit (bacon number)",
"",
"(q)uit",
};
class menu {};
void get_index(people &, unsigned int &, string);
void get_two_indices(people &, unsigned int &, unsigned int &);
ostream & operator<<(ostream & os, const menu & m);
#endif