From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.5-pre1 (2020-06-20) on ip-172-31-74-118.ec2.internal X-Spam-Level: * X-Spam-Status: No, score=1.5 required=3.0 tests=BAYES_50,FREEMAIL_FROM, FROM_STARTS_WITH_NUMS autolearn=no autolearn_force=no version=3.4.5-pre1 X-Received: by 2002:a37:b2c6:: with SMTP id b189mr8531015qkf.363.1612611464409; Sat, 06 Feb 2021 03:37:44 -0800 (PST) X-Received: by 2002:a25:e016:: with SMTP id x22mr12977697ybg.92.1612611464191; Sat, 06 Feb 2021 03:37:44 -0800 (PST) Path: eternal-september.org!reader02.eternal-september.org!news.uzoreto.com!news.muarf.org!nntpfeed.proxad.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sat, 6 Feb 2021 03:37:43 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: google-groups.googlegroups.com; posting-host=85.240.146.108; posting-account=rhqvKAoAAABpikMmPHJSZh4400BboHwT NNTP-Posting-Host: 85.240.146.108 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <92ef81c7-65d8-411f-97c7-7bfcc27213e1n@googlegroups.com> Subject: Re: questions on input/output From: Mehdi Saada <00120260a@gmail.com> Injection-Date: Sat, 06 Feb 2021 11:37:44 +0000 Content-Type: text/plain; charset="UTF-8" Xref: reader02.eternal-september.org comp.lang.ada:61297 List-Id: Mouahahahahah I made my task incommensurately more complicated. I use := Get_line all the time but couldn't think of it, what the hell. Well in term of algorithmic (and work in tight memory space environment...) it taught me a lot, I value the experience. Indeed limitations make sense for typewriter, silly me. Indeed I thought of direct or stream_IO, rather than reset-ing the file again and again. But it's not part of the exo so not now ;-)