diff options
| -rw-r--r-- | Project1/contact.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Project1/contact.cpp b/Project1/contact.cpp index 0cfa0e3..c6d670f 100644 --- a/Project1/contact.cpp +++ b/Project1/contact.cpp @@ -14,7 +14,13 @@ contact& contact::operator=(const contact& rhs) { if(this != &rhs) { - + _firstName = rhs._firstName; + _lastName = rhs._lastName; + _streetAddress = rhs._streetAddress; + _city = rhs._city; + _state = rhs._state; + _zip = rhs._zip; + _email = rhs._email; } return *this; } |