经典面试编程题--atoi()实现
一、功能简介 把一个字符串转换成整数 二、linux c库函数实现 三、需要注意的问题(摘自剑指offer) 面试官至少会期待应聘都能够在不需要提示的情况下,考虑到输 ...
一、功能简介 把一个字符串转换成整数 二、linux c库函数实现 三、需要注意的问题(摘自剑指offer) 面试官至少会期待应聘都能够在不需要提示的情况下,考虑到输 ...
自己写的atoi实现,可能有地方没有想到,暂时写这么多,做个笔录,以备忘记。 #include <stdio.h>#include <stdlib.h>#include <string.h> #define M 100 int fun_atoi(char ...