Article View: gnu.gcc.help
Article #42751Problem with file handling by gcc
From: Mark Higgins
Date: Mon, 06 Nov 1995 00:00
Date: Mon, 06 Nov 1995 00:00
26 lines
1575 bytes
1575 bytes
I hope someone might be able to help me out here - I'm using
gcc for DOS (but running it in a DOS window in Windows 95), and
I'm running into a small but irritating problem. A program of
mine opens six different data files which are updated at
intervals during the program's run.
The problem is this: the first time, even, that it writes to
the files, it writes to the first two properly, and then in
the third, it writes about half the information and stops the
program dead, with no error or explanation.
I've fiddled around with the pointers, etc, and the info being
written to the files, and I'm pretty sure it's none of those.
I'm sort of stumped - does anyone have an idea about this?
On a bit of a tangent, I've seen a few postings about a version
of gcc for Win95 - does such a beast exist? If so, where can I
find it (I poked around a bit on the Net and couldn't find anything).
Thanks in advance,
Mark Higgins | Queen's University Astrophysics
mark@astro.queensu.ca | Kingston, Ontario, Canada
http://astro.queensu.ca/~mark |
"If it's not true, it's well told."
-Old Italian proverb
Technical Details
Message-ID:
<47lp6b$cmu@knot.queensu.ca>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,1d76f40cd1bbe5cb,start X-Google-Attributes: gid11318c,public From: mark@astro.queensu.ca (Mark Higgins) Subject: Problem with file handling by gcc Date: 1995/11/06 Message-ID: <47lp6b$cmu@knot.queensu.ca> X-Deja-AN: 118823139 organization: Queen's University Astrophysics newsgroups: gnu.gcc.help