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=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: "Jeffrey R. Carter" Newsgroups: comp.lang.ada Subject: Re: Introductory Presentations, especially aimed at C++ programmers! Date: Mon, 12 Dec 2016 20:21:29 -0700 Organization: Also freenews.netfront.net; news.tornevall.net; news.eternal-september.org Message-ID: References: <1905815374.502825168.454102.laguest-archeia.com@nntp.aioe.org> <877f7b5llo.fsf@nightsong.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Tue, 13 Dec 2016 03:20:08 -0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="157c8266453fd1657f78090be7465af6"; logging-data="10538"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19hG24JDGjC35A5EExKfbCJ5Tf0ar/kmE4=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 In-Reply-To: Cancel-Lock: sha1:4s+OgI310VqtsaPMmrFpooYg9vs= Xref: news.eternal-september.org comp.lang.ada:32772 Date: 2016-12-12T20:21:29-07:00 List-Id: On 12/12/2016 05:53 PM, Randy Brukardt wrote: > > A Get_Line like the above > generally requires some sort of incremental allocation (a buffer is > allocated, if its not big enough a bigger one is allocated, the first one is > copied into it, and then we repeat until a appears), As the person who created the Get_Line function, I can assure that's not how most versions are implemented. -- Jeff Carter "Alms for an ex-leper!" Monty Python's Life of Brian 75