Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!zephyr.ens.tek.com!tektronix!reed!bowman From: bowman@reed.UUCP (Eric Bowman) Newsgroups: comp.sys.mac.programmer Subject: Handles as plain ole' arrays Keywords: Handles, Classes, C++ Message-ID: <15842@reed.UUCP> Date: 5 Jan 91 01:52:24 GMT Organization: Reed College, Portland OR Lines: 21 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