Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site brl-tgr.ARPA Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!think!harvard!seismo!brl-tgr!gwyn From: gwyn@brl-tgr.ARPA (Doug Gwyn ) Newsgroups: net.lang.c Subject: Re: Help Message-ID: <965@brl-tgr.ARPA> Date: Sun, 25-Aug-85 21:55:13 EDT Article-I.D.: brl-tgr.965 Posted: Sun Aug 25 21:55:13 1985 Date-Received: Tue, 27-Aug-85 01:46:41 EDT References: <248@proper.UUCP> Organization: Ballistic Research Lab Lines: 15 > 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 { } /* */ ;