school/cs142/lab09/tournament.h

26 lines
615 B
C
Raw Normal View History

2016-04-06 20:45:34 -07:00
#ifndef __TOURNAMENT_H__
#define __TOURNAMENT_H__
#include <vector>
#include "restaurant.h"
using namespace std;
class tournament {
private:
vector<restaurant> restaurants;
vector<restaurant> losers;
public:
tournament(){};
void display_restaurant();
bool populate_restaurants(string filename);
bool already_in(string name);
void add_restaurants();
void remove_restaurants();
void shuffle();
bool start_tournament();
bool verify_size();
friend ostream & operator<<(ostream & os, tournament & t);
};
#endif