🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #3142

C++

#3142
From: Paul Polidori
Date: Thu, 22 Nov 1990 04:46
17 lines
976 bytes
Your article/letter follows:
Path: mullauna!paulpi
Date: 22 Nov 90 04:19:36 GMT
Message-ID: <paulpi.659247576@mullauna>
Newsgroups: comp.sys.ibm.pc.programmer
Distribution: aus
Subject: fwrite extra byte
Summary: Extra byte on fwrite
Keywords: C++

Using Turbo c++. File opened for randomn access using r+ 
Each record is a structure 35 bytes long.  They are appended using fseek (0L,SEEK_END. ) After adding the 10th. record, file length is 351 bytes long.
Adding additional records does not seem to affect file access. OS is DOS using a Banyan Network. Any suggestions whats happening ?


please mail response to lingwood@mullauna.cs.mu.OZ.AU
Technical Details
Message-ID: <6070@munnari.oz.au>
Path: arc1-ca.pugleaf.net!utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!usc!apple!uokmax!munnari.oz.au!paulpi

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!usc!apple!uokmax!munnari.oz.au!paulpi
From: paulpi@munnari.oz.au (Paul Polidori)
Newsgroups: comp.os.msdos.programmer
Subject: C++
Message-ID: <6070@munnari.oz.au>
Date: 22 Nov 90 04:46:25 GMT
Sender: news@cs.mu.oz.au
Lines: 17