Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const Winery& Winery::operator=(const Winery& obj) {
- strcpy(this->name, obj.name);
- strcpy(this->location, obj.location);
- this->acre = obj.acre;
- this->rating = obj.rating;
- this->year = obj.year;
- return this;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement