Why do we require copy constructors?
I'm learning C++ and I'm not sure why copy constructors are necessary, because I was getting correct results without them as well.
I went through a few examples, but it seemed to me that having copy constructors, such as to initialise variables, is just good practise.
Could someone please explain the concept of copy constructors to me?
Any assistance will be greatly appreciated.
Thank you very much.