|
date: Fri, 17 Jan 2014 20:13:16 -0600http://www.c-program-example.com/2012/02/k-r-c-programs-exercise-5-20.html
from: Scott Klement <c400-l@xxxxxxxxxxxxxxxx>
subject: Re: [C400-L] C syntax errors
Not to mention that it uses global variables (and even extern variables)
throughout instead of parameters...
Absolutely horrible code. Definitely not to be used as an example!.
On 1/17/2014 5:47 PM, James Rich wrote:
On Sat, 18 Jan 2014, frank kolmann wrote:
Presumable it has compiled elsewhere.
doubleAs already mentioned, this appears to be bad code. Right away, the
C++slashes aren't valid for start of comment in plain C (but are valid in
and other languages). Other bad code jumps out in the dcl(void) function
with these two statements:
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.