??????? Unfortunately you misunderstood me, this question is part of a problem, not homework, and I am tried to solve it step by step. Sorry I can explain in details because this problem related to my research. Thanks >From: Wouter van Ooijen >Reply-To: pic microcontroller discussion list >To: PICLIST@MITVMA.MIT.EDU >Subject: Re: Read a file >Date: Sat, 1 Feb 2003 13:05:48 +0100 > > > Dear Sir. > > I am a new beginner in c language, and I have a problem as follow: > > I have a file (f1.txt) with data for example: > >Sorry sir, this sounds too much like homework assignment to me. > >regards, >Wouter van Ooijen > >-- ------------------------------------------- >Van Ooijen Technische Informatica: www.voti.nl >consultancy, development, PICmicro products > >-- >http://www.piclist.com hint: PICList Posts must start with ONE topic: >[PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads _________________________________________________________________ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads