From: "Paganini " Newsgroups: comp.os.msdos.djgpp Subject: Re: Strings Date: Sun, 7 Mar 1999 08:16:26 -0600 Organization: Info Avenue Internet Services Lines: 32 Message-ID: <7bu1ne$hb2$1@news3.infoave.net> References: <7brab6$cts$1 AT news3 DOT infoave DOT net> <36e13576 DOT 0 AT news DOT uni-bielefeld DOT de> <7bsgti$8ic$1 AT news3 DOT infoave DOT net> <7bsma6$ckk$1 AT news3 DOT infoave DOT net> <36E1E102 DOT 2205 AT infi DOT net> NNTP-Posting-Host: ham104.madisontelco.com X-Trace: news3.infoave.net 920816174 17762 206.28.233.104 (7 Mar 1999 14:16:14 GMT) X-Complaints-To: usenet AT news3 DOT infoave DOT net NNTP-Posting-Date: 7 Mar 1999 14:16:14 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.0810.800 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.0810.800 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Joe Wright wrote in message news:36E1E102 DOT 2205 AT infi DOT net... >Paganini wrote: >> >> I did a little more research, and I wasn't too far off...this is what works >> with DJGPP, and it is correct according to the standard... >> >> #include >> ... >> getline(, ); >> ... > >Guess again. There is no header and there is no function >getline(). > >To get a text 'line' from a given stream, fgets() is usually the >Standard function of choice. It is declared in stdio.h and does all the >'right' things. I don't need to guess again...there certainly is a header and a function getline...I suggest that you are still programming in C...download the C++ language extension. -- Paganini MOOk, the Great High Llama ICQ 25308827 http:\\web.madisontelco.com\~paganini