Returning an array of charactersFor those wondering, I had to do the following: [code] char* Numberclass:getListNum() { return list...
Returning an array of charactersHi everyone! I have a private data member that is an array of characters that stores a bunch of n...
Operator assignment overloading with dynamically allocated arrayNo, I haven't. I thought that I needed to write the assignment operator first so that I could use it...
Operator assignment overloading with dynamically allocated arrayHere's what I tried: [code]ArrayB & operator= (const ArrayB & other) { if (this != &other) { delete...
Operator assignment overloading with dynamically allocated arrayCould you please show me an example of the code, specifically using the loop the copy the elements?
This user does not accept Private Messages