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-Thread: a07f3367d7,15480fcd593513b9 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news1.google.com!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!nx02.iad01.newshosting.com!newshosting.com!newspeer.monmouth.com!newsswitch.lcs.mit.edu!nntp.TheWorld.com!not-for-mail From: Robert A Duff Newsgroups: comp.lang.ada Subject: Re: Table of pointers question Date: Thu, 24 Sep 2009 08:49:31 -0400 Organization: The World Public Access UNIX, Brookline, MA Message-ID: References: <3cadnZif2YjGbyfXnZ2dnUVZ_tmdnZ2d@earthlink.com> NNTP-Posting-Host: shell01.theworld.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: pcls4.std.com 1253796571 23959 192.74.137.71 (24 Sep 2009 12:49:31 GMT) X-Complaints-To: abuse@TheWorld.com NNTP-Posting-Date: Thu, 24 Sep 2009 12:49:31 +0000 (UTC) User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (irix) Cancel-Lock: sha1:0vJq3XzRaoMRoMm5iyKZu+BRURE= Xref: g2news2.google.com comp.lang.ada:8456 Date: 2009-09-24T08:49:31-04:00 List-Id: Dennis Lee Bieber writes: > This example appears (I haven't fully explored the code -- still > recovering from a dilated eye exam so everything is fuzzy) ... Maybe if the program had more underscores... ;-) ...to be using > dynamically allocated data records, and storing a true (memory) pointer > to those records in the array. It then swaps the pointers. The data is > somewhere in allocated memory. - Bob