Trouble readn' and writn' in C
Michael A Gorski
mag2 at csd4.milw.wisc.edu
Thu Jun 22 21:25:53 AEST 1989
In article <1532 at unccvax.UUCP> cs75jmc at unccvax.UUCP (john m covington) writes:
>In article <3037 at csd4.milw.wisc.edu>, mag2 at csd4.milw.wisc.edu (Michael A Gorski) writes:
>>
>> FILE *fopen(), *ifp();
> ^^^^^^^ this should be just *ifp;
> you have just declared a function named ifp that
> returns a pointer to a FILE....
>
>This is not the cause of the problem you are currently experiencing,
>just thought I would pass this along, in case you are new to C....
The *ifp() was a typo and not in my source. Sorry about that. The
problem was that Turbo C defaults to text mode for files and I just had
to override that make it binary.
Yes I am new to C (This is my first big project) and I'd like to thank
everyone for the help.
Mike
mag2 at csd4.milw.wisc.edu
More information about the Comp.lang.c
mailing list