DynamicArray MyDArray;
MyDArray.SetIndex(0, 23);
Little better than an ordinary linked list, and twice as slow. Any ideas on at least getting it to this point?
MyDArray.Index(0) = 23;
My ultimate goal, which I now belive to be impossible, is to use it like a normal array. I would even settle for the following:
MyDArray(0) = 23;
For some reason I do not have a lot of luck dealing with operator overloading (even when I compile the example on the CD that came with my intro to C++ book it doesn''t work).
--------------------You are not a real programmer until you end all your sentences with semicolons;
Visit the ROAD Programming Website for more programming help.