From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,71c743c03ed191fe X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-10-02 08:11:52 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!sn-xit-03!sn-xit-01!sn-post-01!supernews.com!corp.supernews.com!not-for-mail From: "Matthew Heaney" Newsgroups: comp.lang.ada Subject: Re: Beginer problem: variable array size Date: Wed, 2 Oct 2002 11:08:44 -0400 Organization: Posted via Supernews, http://www.supernews.com Message-ID: References: <4519e058.0209170622.498a17e7@posting.google.com> X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Complaints-To: abuse@supernews.com Xref: archiver1.google.com comp.lang.ada:29463 Date: 2002-10-02T11:08:44-04:00 List-Id: "Marin David Condic" wrote in message news:amcako$bbg$1@slb7.atl.mindspring.net... > Sometimes people like to use arrays as if they were lists. Ada doesn't have > a standard list type, so there's no pointing them in that direction. Dynamic > arrays exist in some languages - just not in Ada. (Well, O.K. > Unbounded_String, but that's not a general array type.) The good news is > that neither does C, so in either language, the OP would have to go about > creating his own construct. Maybe C++ has a dynamic array class? The Charles container library has both doubly-linked and singly-linked container types. It also has a vector, which is a "dynamic array." (There's also a deque, with slightly different semantics.) http://home.earthlink.net/~matthewjheaney/charles/index.html Perhaps these can be of some use.