I
Ishira
Hello,
Please help.
I am seriously at my wits end. Just when I feel I have completely
understood copy contructor, I am stumped yet again.
I have a class which has a CARRAY of objects. I am trying to write a
copy constructor for the class and it's simply havoc! The array
variable is private to the class and simply contains objects without
dynamic variables.So no issue there. Just the very copying of CArray
is giving me problems.
Maybe some code on how you would handle it will help trmedously.
Kindly throw some light on the matter.
Thank you.
Ishi
Please help.
I am seriously at my wits end. Just when I feel I have completely
understood copy contructor, I am stumped yet again.
I have a class which has a CARRAY of objects. I am trying to write a
copy constructor for the class and it's simply havoc! The array
variable is private to the class and simply contains objects without
dynamic variables.So no issue there. Just the very copying of CArray
is giving me problems.
Maybe some code on how you would handle it will help trmedously.
Kindly throw some light on the matter.
Thank you.
Ishi