adding cs142 code
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
#include "restaurant.h"
|
||||
|
||||
using namespace std;
|
||||
|
||||
ostream & operator<<(ostream & os, restaurant & r) {
|
||||
os << "{\"name\": \"" << r.name << "\", \"score\": " << r.score << "}";
|
||||
return os;
|
||||
}
|
||||
Reference in New Issue
Block a user