Hope someone can help me with this. I have searched the web with no luck.
I have an array class that I create instances of dynamically. However when I attempt to use the overloaded operators using my class pointers I get errors and/or unexpected results.
If I declare the object in the function (not use a passed pointer to the object declared elsewhere) it works fine, but the pointer does not.
The pertinent code is (I hope it is clear.):
_array = new UINT;
_size = 8;
UINT& operator  (int index)
if (index >= 0 && index < _size)
void fakeUseRange(RANGE_ARRAY* ra)
int count = 0;
while (count < 8)
ra = 68;