Article View: comp.os.msdos.programmer
Article #2845starters.kit and TC++
From: david lavigne
Date: Tue, 30 Oct 1990 04:46
Date: Tue, 30 Oct 1990 04:46
19 lines
1365 bytes
1365 bytes
I apologize if this is not approbate for this group.
The uudecode.c program from the starters.kit from simtel20(wsmr) compiles
just fine once MSDOS is defined. However when using the program to uudecode
a file, it produces a 0 length file. I have trace the problem to the portion
of the code that writes to the outfile. After about 520 characters are
"putc" into the outfile stream I get a "bad file handle" error message from
the "putc" command. { I added perror command to the code to get this error}
I have looked over the code, but being rather new to C I am unable to determine
the cause of this error. I am using TC++ 1.0 on a AT compatible.
Since this is a rather specific question email would probably be the best
method of answering.
Ps. First post so please set Flamethrowers to stun.
Thanks.
.no sig
Technical Details
Message-ID:
<85387@tut.cis.ohio-state.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!tut.cis.ohio-state.edu!skink.cis.ohio-state.edu!lavigneShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!tut.cis.ohio-state.edu!skink.cis.ohio-state.edu!lavigne From: lavigne@skink.cis.ohio-state.edu (david lavigne) Newsgroups: comp.os.msdos.programmer Subject: starters.kit and TC++ Message-ID: <85387@tut.cis.ohio-state.edu> Date: 30 Oct 90 04:46:04 GMT Sender: news@tut.cis.ohio-state.edu Reply-To: david lavigne <lavigne@cis.ohio-state.edu> Distribution: usa Organization: Ohio State University Computer and Information Science Lines: 19