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-Thread: 103376,b5cd7bf26d091c6f X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news4.google.com!feeder1-2.proxad.net!proxad.net!feeder2-2.proxad.net!newsfeed.arcor.de!newsspool2.arcor-online.net!news.arcor.de.POSTED!not-for-mail Date: Mon, 06 Jun 2011 11:46:07 +0200 From: Georg Bauhaus User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10 MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Reading the while standard input into a String References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Message-ID: <4deca1df$0$6573$9b4e6d93@newsspool3.arcor-online.net> Organization: Arcor NNTP-Posting-Date: 06 Jun 2011 11:46:07 CEST NNTP-Posting-Host: ae3fc025.newsspool3.arcor-online.net X-Trace: DXC=W2N3IYbGKldeoCI^f\Y]EaMcF=Q^Z^V3h4Fo<]lROoRa8kFFknc\616M64>jLh>_cHTX3jmUXeCEo] On 05.06.11 18:20, Natasha Kerensikova wrote: > Hello, > > I have encountered what was a very easily solved problem in C: dump the > whole contents of the standard input into some place in memory, in order > to process it afterwards. This article by Robert Dewar may interest you, "Accessing Memory as a String" http://www.adapower.com/index.php?Command=Class&ClassID=Advanced&CID=213