摘要: 一、功能简介把一个字符串转换成整数二、linux c库函数实现/****long atol(char *nptr) - Convert string to long**Purpose:* Converts ASCII string pointed to by nptr to binary.* Overflow is not detected.**Entry:* nptr = ptr to string to convert**Exit:* return long int value of the string**Exceptions:* ... 阅读全文
posted @ 2012-05-04 18:47 HustQuan 阅读(12620) 评论(2) 推荐(1) 编辑