Re: Simplicity has a future



Ian Collins said:

Richard Heathfield wrote:
Ian Collins said:

My C compiler gave several screens of errors and warning before giving
up.


Try it again, fixing the trivial error on line 20

Don't bother - it isn't an error.

One good reason for passing C though a C++ compiler:

"/tmp/x.c", line 16: Error: Cannot use const char[82] to initialize
char[81].

Oh yes you can. Not in C++, true - but this is comp.lang.c, not
comp.lang.c++, and the code I posted is C, not C++.

Read the code more carefully. I think you jumped to a false conclusion.


--
Richard Heathfield
"Usenet is a strange place" - dmr 29/7/1999
http://www.cpax.org.uk
email: rjh at above domain (but drop the www, obviously)
.