adding cs142 code

This commit is contained in:
dm
2016-04-06 20:45:34 -07:00
parent 552d456d53
commit 8e52ce1982
174 changed files with 14064 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
#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