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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,308a261188818cce X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!57g2000hsv.googlegroups.com!not-for-mail From: shaunpatterson@gmail.com Newsgroups: comp.lang.ada Subject: Re: Pointers explained? Date: Tue, 31 Jul 2007 22:38:24 -0000 Organization: http://groups.google.com Message-ID: <1185921504.964168.187720@57g2000hsv.googlegroups.com> References: <1185817996.143086.317990@g12g2000prg.googlegroups.com> <1185818189.689914.159900@x40g2000prg.googlegroups.com> <4cslgd5ejxgp.rsknykje4paa$.dlg@40tude.net> NNTP-Posting-Host: 71.199.159.141 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: posting.google.com 1185921505 6997 127.0.0.1 (31 Jul 2007 22:38:25 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 31 Jul 2007 22:38:25 +0000 (UTC) In-Reply-To: <4cslgd5ejxgp.rsknykje4paa$.dlg@40tude.net> User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1) Gecko/20061023 SUSE/2.0-30 Firefox/2.0,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: 57g2000hsv.googlegroups.com; posting-host=71.199.159.141; posting-account=ps2QrAMAAAA6_jCuRt2JEIpn5Otqf_w0 Xref: g2news2.google.com comp.lang.ada:1301 Date: 2007-07-31T22:38:24+00:00 List-Id: Thanks for all the help. I figured I had to use "new" eventually. In C++, allocating memory doesn't seem to bother me - mainly because I'm confident with the language and feel like I can control the program flow better. However, in Ada, that whole "Unchecked_Deallocation" bothers me... although I seem to have used it effectively. The "Unchecked" part just makes it seem like Ada provides a better way... Are there any version of GNAT that support garbage collection? I'm working with 10-15 year old government system. Perhaps I can convince them to upgrade to an Ada compiler with a garbage collector -- Shaun