www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/08/05/22:03:27

From: "Michael Stewart" <mike AT reggin DOT freeserve DOT co DOT uk>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: help io
Date: Thu, 5 Aug 1999 12:38:33 +0100
Organization: (Posted via) Netcom Internet Ltd.
Lines: 19
Message-ID: <7obt5k$dh8$1@taliesin.netcom.net.uk>
References: <9wcq3.3127$Gc6 DOT 204692992 AT newsb DOT telia DOT net>
NNTP-Posting-Host: hgty.capgemini.co.uk
X-Trace: taliesin.netcom.net.uk 933853172 13864 194.42.240.2 (5 Aug 1999 11:39:32 GMT)
X-Complaints-To: abuse AT corp DOT netcom DOT net DOT uk
NNTP-Posting-Date: 5 Aug 1999 11:39:32 GMT
X-Newsreader: Microsoft Outlook Express 4.72.3155.0
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3155.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

grok wrote in message <9wcq3.3127$Gc6 DOT 204692992 AT newsb DOT telia DOT net>...
>
>I would like to see a simple program that
>loads three variables from a file
>then change this variables
>and overwrites the file

>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


Sounds like homework :-) which most people will not do for you.
If you try to write the program and encounter errors then people will be
happy to help.

If you look at the documentation for fscanf, fprintf, fopen and fclose its
might give you a hint.


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019