摘要: long atol(const char *nptr){ int c; /* current char */ long total; /* current total */ int sign; /* if ''-'', then negative, otherwise positive */ /* skip whitespace */ while ( isspace((int)(unsigned char)*nptr) ) ++nptr; c = (int)(unsigned char)*nptr++; sign = c; if (c == '' 阅读全文
posted @ 2011-09-13 17:55 caleb yuan 阅读(257) 评论(0) 推荐(0) 编辑