Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CellPhoneStock::CellPhoneStock(CellPhoneStock &cps)
- {
- this->cellPhones[capacity];
- for (int i = 0; i < capacity; i++)
- {
- this->cellPhones[i] = cps.cellPhones[i];
- }
- }
- CellPhoneStock::~CellPhoneStock()
- {
- this->deleter();
- }
- void CellPhoneStock::operator= (const CellPhoneStock &cps)
- {
- this->deleter();
- this->cellPhones[capacity];
- for (int i = 0; i < capacity; i++)
- {
- this->cellPhones[i] = cps.cellPhones[i];
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement