Help
Doug Gwyn <gwyn>
gwyn at brl-tgr.ARPA
Mon Aug 26 11:55:13 AEST 1985
> When ever I attempt to compile the Fahrenheit-Celsius table program (on pg
> 8 of _The C Programming Language_) I
> get this error:
> "temp.c", line 8: warning: old-fashioned initialization: use =
>
> The line of code is:
> lower = 0; /* lower limit of temperature */
>
> Could someone tell me what I'm doing wrong?
No, because you didn't supply enough information.
The program in the book is okay, so the error must be
in your code. Check the line or two above where the
compiler detects the problem. Especially check for
extra/missing { } /* */ ;
More information about the Comp.lang.c
mailing list