Hi, i need some help with Copy C`tor and operator=() implementation, i don`t know how to implement operator=() with copy ctor when i have array of Customers*.
I need it for line 83 on main.cpp
And two notes:
1. arrays must be deleted like this: delete [] ptr;
2. if new operation failed, it throws an exception (bad_alloc), if you want it only to return a NULL-pointer, specify one more argument: int *ptr = new(nothrow) int;