From: Marcus Rohrmoser Newsgroups: comp.os.msdos.djgpp Subject: Re: load and save variable Date: Tue, 14 Sep 1999 12:28:00 +0200 Organization: [posted via] Leibniz-Rechenzentrum, Muenchen (Germany) Distribution: world Message-ID: <37DE2330.6D0E1F93@gmx.de> References: <00b401befefc$cbd992c0$5df343c3 AT marocky> NNTP-Posting-Host: sun3.lrz-muenchen.de Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Mailer: Mozilla 4.61 [en] (X11; I; SunOS 5.5.1 sun4m) X-Accept-Language: en Lines: 7 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com If you want to be on the safe side of life, use "fprintf(file,"%d ", variable)" and "fscanf(file,"%d ", &variable)" if itīs integer. This is not the most compact storing, but will save you from several problems. Marcus