![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
The C Programming Language
iteye_633
这个作者很懒,什么都没留下…
展开
-
1.19
[code="c"] #include void reverse(char s[]); main(){ int len; char line[1000]; while((len = getline(line, 1000)) > 0){ reverse(line); printf("%s\n", line); } } void r...2010-03-17 00:03:00 · 90 阅读 · 0 评论 -
4.1
[code="c"] #include int strrinde(char s[], char t[]){ int i, j, k, pos = -1; for(i = 0; s[i] != '\0'; i++){ for(j = i, k = 0; t[k] != '\0' && s[j] == t[k]; j++, k++) ; if(k > 0 && t...原创 2010-05-20 00:07:44 · 75 阅读 · 0 评论