I have recently discovered that when I have pointers within a class, I need to specify a Copy constructor.
To learn that, I have made the following simple code. It c
I have recently discovered that when I have pointers within a class, I need to specify a Copy constructor
More often than not it is a good idea to simply disable it by declaring it (and the assigment operator) private and not implementing it.