Re: Problem Debugging C Program



John Hanley <hanley@xxxxxxxxxxx> writes:

Sounds good. In the meantime, here is the code if you have the time to
take a peek at it.

Here's one problem:

blp@blp:~(1)$ gcc -Wall foo.c
foo.c: In function 'extract_records':
foo.c:472: warning: unused variable 'max_fields'
foo.c: In function 'main':
foo.c:613: warning: format '%s' expects type 'char *', but argument 3 has type 'struct FILE *'

--
"In this world that Hugh Heffner had made,
he alone seemed forever bunnyless."
--John D. MacDonald
.