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,ASCII-7-bit X-Google-Thread: 103376,db1e3158636a30f2 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-08-14 13:41:37 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!hammer.uoregon.edu!skates!not-for-mail From: Stephen Leake Newsgroups: comp.lang.ada Subject: Re: Fill string with multiple lines from standard_input Date: 14 Aug 2002 16:37:59 -0400 Organization: NASA Goddard Space Flight Center (skates.gsfc.nasa.gov) Message-ID: References: NNTP-Posting-Host: anarres.gsfc.nasa.gov Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: skates.gsfc.nasa.gov 1029358028 7910 128.183.220.71 (14 Aug 2002 20:47:08 GMT) X-Complaints-To: usenet@news.gsfc.nasa.gov NNTP-Posting-Date: 14 Aug 2002 20:47:08 GMT User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Xref: archiver1.google.com comp.lang.ada:28039 Date: 2002-08-14T20:47:08+00:00 List-Id: "Vincent Smeets" writes: > Hallo, > > How can I fill a string with multiple lines from the standard_input? I want > to have all the characters read from the input till a end of file in a > string. This sounds like a homework assignment. In which case, the best answer is "go read your textbook". If this is not a homework assignment, write back saying that, and why you need to do this. Then we can provide useful advice. -- -- Stephe