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!
Nice solution though ;0) I defer trumpage to you.
--
Sellam Ismail Vintage Computer Festival
------------------------------------------------------------------------------
International Man of Intrigue and Danger http://www.vintage.org
[ Old computing resources for business || Buy/Sell/Trade Vintage Computers ]
[ and academia at www.VintageTech.com || at http://marketplace.vintage.org ]