🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: de.comp.lang.c++
Article #279

Need help opening/closing files...

#279
From: Mike Chilcott
Date: Sun, 20 Aug 1995 00:51
19 lines
1204 bytes
   I am new at programming, and have a little problem.
I have a huge file (over 90+meg). It is broken down into
records of 923 characters each. Each record consists of 
30+ fields of varying size lengths.

   I want to open the file, read a record and assign each 
field a variable name. I then want to open an output file,
and write certain fields to it.

   I have been told to try and use STRUCTS, but am 
having problems, understanding and implementing.
Any help is appreciated....

   Thanks in advance.....
-- 
=====================================================================
Mike Chilcott                                       mikechil@cris.com
Home Computer Services                 http://www.cris.com/~mikechil/
=====================================================================
Technical Details
Message-ID: <4160u7$g6b@warp.cris.com>
Path: arc1-ca.pugleaf.net!warp.cris.com!usenet

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!warp.cris.com!usenet
From: mikechil@cris.com (Mike Chilcott)
Newsgroups: de.comp.lang.c++
Subject: Need help opening/closing files...
Date: 20 Aug 1995 00:51:19 GMT
Organization: Home Computer Services
Message-ID: <4160u7$g6b@warp.cris.com>
NNTP-Posting-Host: crc1-fddi.cris.com
Mime-Version: 1.0
Content-Type: Text/Plain; charset=ISO-8859-1
X-Newsreader: WinVN 0.99.5