From: "grok" Newsgroups: comp.os.msdos.djgpp Subject: help io Lines: 42 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2014.211 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 Message-ID: <9wcq3.3127$Gc6.204692992@newsb.telia.net> Date: Thu, 05 Aug 1999 09:08:21 GMT NNTP-Posting-Host: 195.67.242.175 X-Complaints-To: abuse AT telia DOT com X-Trace: newsb.telia.net 933844101 195.67.242.175 (Thu, 05 Aug 1999 11:08:21 CEST) NNTP-Posting-Date: Thu, 05 Aug 1999 11:08:21 CEST Organization: Telia Internet To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com I would like to see a simple program that loads three variables from a file file A: 10 20 30 then change this variables to eg 5 15 25 and overwrites the file file A: 5 15 25 I just want to learn how to read and write from a file... I'd like to have this file in a drawer C:\grok -- --- greetings grok AT telia DOT com sweden ---