17 lines
331 B
C
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
|