![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C语言
文章平均质量分 73
athefei
这个作者很懒,什么都没留下…
展开
-
strstr()函数工作原理与自写实现
#include #include void putOneByOneP(char *s); char *strstrM1 (char str[], char mod[]); char *strstrM2 (char str[], char mod[]); int main(void) { char s[] = "What's your name?"; char s2[] = "name原创 2015-08-01 16:29:25 · 1676 阅读 · 0 评论 -
C语言atof函数的探索
#include #include //USING atof double atofM1(char s[]); double atofM2(char *s); double atofM3(char *s); int main(void) { char s[]=" \t \n -987654.9962abc"; printf("%lf\n",atof(s)); printf("%lf\n原创 2015-08-06 00:06:20 · 527 阅读 · 1 评论