How to implement overloading of assignment operators in C++?
I am trying to use assignment operator overloading to perform deep copy but not able to figure out the right way to do it. I have a Class Computer and need to use it to copy its object to that of class Laptop.
Aucun commentaire:
Enregistrer un commentaire