school/cs142/lab09/restaurant.h
2016-04-06 20:45:34 -07:00

17 lines
331 B
C++

#ifndef __RESTAURANT_H__
#define __RESTAURANT_H__
#include <string>
#include <ostream>
using namespace std;
class restaurant {
public:
string name;
int score;
restaurant(string name, int score): name(name), score(score) {}
friend ostream & operator<<(ostream & os, restaurant & r);
};
#endif