'goto" gone from computer languages or is it!

Dave Dunfield dave04a at dunfield.com
Mon May 16 18:37:19 CDT 2005


>>     for(i=0; i < n; ++i)
>>       printf("%u%s", aryp[i], ","+(i >= n));
>
>Um, you're right, but yours does ;)
>
>(Can you spot the error? ;)

Yup - should be ((i+1) >= n)

I told you this was getting silly!

Cheers,
-- 
dave04a (at)    Dave Dunfield
dunfield (dot)  Firmware development services & tools: www.dunfield.com
com             Collector of vintage computing equipment:
                http://www.parse.com/~ddunfield/museum/index.html




More information about the cctalk mailing list