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,CP1252 X-Google-Thread: 103376,a4d2751f9487bd38 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-07-07 09:03:01 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!arclight.uoregon.edu!wn13feed!wn12feed!worldnet.att.net!204.127.198.203!attbi_feed3!attbi.com!sccrnsc04.POSTED!not-for-mail Message-ID: <3F09999F.1040206@attbi.com> From: "Robert I. Eachus" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.2) Gecko/20021120 Netscape/7.01 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Real data for a change in the assignment operators and Bounded_String discussions. References: <3F04F778.5090305@attbi.com> <1057585611.821825@master.nyc.kbcfp.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit NNTP-Posting-Host: 24.62.164.137 X-Complaints-To: abuse@attbi.com X-Trace: sccrnsc04 1057593780 24.62.164.137 (Mon, 07 Jul 2003 16:03:00 GMT) NNTP-Posting-Date: Mon, 07 Jul 2003 16:03:00 GMT Organization: AT&T Broadband Date: Mon, 07 Jul 2003 16:03:00 GMT Xref: archiver1.google.com comp.lang.ada:40109 Date: 2003-07-07T16:03:00+00:00 List-Id: Hyman Rosen wrote: > Instead, > while (1) > { > _1st_line = first_line_of_file(TEST_FILE); > fputs(_1st_line, stdout); > free(_1st_line); > } ... I originally posted a working Ada program, with output. Would you care to do the same for your C and/or C++ versions? This particular fragment will read a line from TEST_FILE and print it forever, at least as far as I can see. -- Robert I. Eachus �In an ally, considerations of house, clan, planet, race are insignificant beside two prime questions, which are: 1. Can he shoot? 2. Will he aim at your enemy?� -- from the Laiden novels by Sharon Lee and Steve Miller.