View Single Post
  #3  
Old 03-17-2006, 06:28 PM
jake13jake jake13jake is offline
Former Classic Staff
jake13jake's Avatar
Join Date: Dec 2002
Location: Northwest Vermont
Posts: 1,452
jake13jake will become famous soon enough
Quote:
Originally Posted by Loriel
The anytype[] classes in Java are not meant to be actually used as arrays. They are primarily meant to implement array classes, and to provide some lowlevel aggregate data structure.

C++ arrays are as unresizable as Java arrays.
What's fun in C++ though, is that you can override the [] operator with classes so you can make a list class that uses the the [] for indicating index, and then add or remove from the list and the size auto adjusts... fun.
Reply With Quote