bowman@reed.UUCP (Eric Bowman) (01/05/91)
After much consternation and lack of comprehension, I pose the following
question to the net:
Has anyone, or is it possible to, create a C++ class that allocates a
relocatable block of memory which can be (cleanly) accessed by overloading
[]?
Something like:
dataArray *myArray;
myArray = new dataArray(200);
myArray[i] = myArray[j]*10+myArray[i]; etc. etc.
Any help would be mucho appreciated.
thanks,
bobo
bowman@reed.{bitnet,UUCP,edu}
...!tektronix!reed!bowman