Advertisement
Brandan

Untitled

Oct 11th, 2014
504
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.24 KB | None | 0 0
  1. const Winery& Winery::operator=(const Winery& obj) {
  2.     strcpy(this->name, obj.name);
  3.     strcpy(this->location, obj.location);
  4.     this->acre = obj.acre;
  5.     this->rating = obj.rating;
  6.     this->year = obj.year;
  7.     return this;
  8. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement