Article View: att.lang.c++
Article #133load and save variable
From: Hakan Venderlof
Date: Sun, 05 Sep 1999 00:00
Date: Sun, 05 Sep 1999 00:00
23 lines
970 bytes
970 bytes
Hello I would like to load an variable from a file variable.txt looking like this: 25 and then change the variable in a program and save the variable to the samefile, eg overwriting the file to for example 50 How should this be written? I use Borland c++ 5.02. -- *** greetings grok sweden ***
Technical Details
Message-ID:
<MppA3.110$ys9.135454720@newsa.telia.net>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d4ba,d32a38371b4f4347,start X-Google-Attributes: gid10d4ba,public From: "Hakan Venderlof" <grok@swipnet.se> Subject: load and save variable Date: 1999/09/05 Message-ID: <MppA3.110$ys9.135454720@newsa.telia.net> X-Deja-AN: 521246515 X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 X-Complaints-To: abuse@telia.com X-Trace: newsa.telia.net 936518380 195.67.243.219 (Sun, 05 Sep 1999 09:59:40 CEST) Organization: Telia Internet X-MSMail-Priority: Normal NNTP-Posting-Date: Sun, 05 Sep 1999 09:59:40 CEST Newsgroups: att.lang.c++