On Wed, 2005-05-18 at 16:44 +1200, Zane Gilmore wrote:
John Carter wrote: <snip>
Simple enough?
I would argue that that is too simple.
Agreed. Below is the C code to do the task, and that is trivial.
Trivial to whom? Us yes. To a non programmer, you might as well be writing Chinese. Even to a non-C programmer, the snippet is quite enough to get a first impression of C (and probably put them off ever learning it!)
Cheers, Carl
