Message-ID: <3771852E.784D9EC6@scordon.com.br> Date: Wed, 23 Jun 1999 22:09:02 -0300 From: producao X-Mailer: Mozilla 4.04 [en] (Win95; I) MIME-Version: 1.0 To: djgpp AT delorie DOT com Subject: Re: Reading from the hard disk References: <19990622135137 DOT 20252 DOT 00002902 AT ng-fu1 DOT aol DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com LogosAZ wrote: > > what command could read a string of characters out of a file into memory? ... #include ... FILE *prFp; char aString[1024*3]; if((pfFP=fopen("file_name", "rt")) == NULL) exit(1); fgets(aString, 1024*2, prFp); ... -- +-------------------------------------------+ | Sistemas CORDON | | | | Aplicativos Definitivos | | | | Home Page: www.scordon.com.br | | e-mail: producao AT scordon DOT com DOT br | | | +-------------------------------------------+