Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CellPhoneHandler(const CellPhoneHandler &source);
- CellPhoneHandler::CellPhoneHandler(const CellPhoneHandler &source){
- this->phones = new CellPhone*[source.capacity];
- this->capacity = source.capacity;
- this->nrOfModels = source.nrOfModels;
- for (int i = 0; i < source.nrOfModels; i++)
- this->phones[i] = new CellPhone(*source.phones[i]);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement