school/cs142/lab09/restaurant.h

17 lines
331 B
C
Raw Normal View History

2016-04-06 20:45:34 -07:00
#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