atoi函數算法分析(字符串轉換爲相應的整型數)

本博客爲原創,如需轉載技術,請說明出處。http://www.cnblogs.com/Fsiswo/p/8004920.html 閒來無事,便分析了atoi函數的算法,與大家分享一下。 源代碼 1 #include<stdio.h> 2 int atoi(char s[]); 3 main() 4 { 5 char s[] = "123"; 6 int a = atoi
相關文章
相關標籤/搜索