From: tanp@ns (Bill Wendling)
Subject: Re: When should I close a file?
Date: 1996/01/31 [thread overview]
Message-ID: <4en4nv$45k@news.cencom.net> (raw)
In-Reply-To: DLx4tF.Hs0@un.seqeb.gov.au
Anthony Lee inexplicably wrote:
} I have a C program in ULTRIX and OSF.
} The program inputs lines of data representing coordinates of lightning
} strikes. The program records the data arrival time and translates
} the coordinates (for plotting).
} The datafile can remain open for days before a strike is recorded.
} Or in a storm many strikes can arrive within a few seconds.
} My question is, if the program run continuously then how often
} should I close the file as oppose to just saving it?
I know of no set standard of how long the file should remain open. I
guess that you don't want to close it because of the immediacy(sp?) of
needing to record the data. I would go with just saving it.
} voice:+61 7 3407 4541 Death to the Daleks!!!!
Right On! :)
--
Bill Wendling | "Pinky, are you thinking what I'm thinking?"
tanp@ns.cencom.net | "I think so, Brain, but burlap chafes me so."
"Boom Shanka" | Finger me for my Geek Code...NOW!
prev parent reply other threads:[~1996-01-31 5:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-01-29 5:00 When should I close a file? Anthony Lee
1996-01-31 5:00 ` Bill Wendling [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox