[Coco] [Color Computer] Anothr C Oneliner

johnadonaldson at comcast.net johnadonaldson at comcast.net
Mon Sep 26 10:06:37 EDT 2005


Here is another C onliner

bool s2i(char*d,int&r){for(r=0;*d>='0'&&*d<='9';r=r*10+*(d++)-'0');return*d==0;}

John Donaldson



More information about the Coco mailing list