- 博客(3)
- 收藏
- 关注
原创 Substring_question
for deleting the substring.#include#includemain(){ char s1[80], s2[80]; scanf("%s %s",&s1, &s2); char *p; while( (p = strstr(s1,s2)) != NULL ){ if(p + strlen(s2) !
2015-03-13 19:01:52
181
转载 About debugging
From Prof. Eric Grimson Prof. John Guttag.Kepp in mind that the bug is probably not where you think it is.You should be careful:1.Reversed oder of argument.2.Spelling3.Initialization4.Ob
2015-03-08 21:16:16
322
原创 第一章笔记
题目1.3只使用处理I/O的PrintDigit函数,编写一个过程以输出任意实数(可以是负的)。原书对PrintDigit的定义包含在一个作为范例的源代码中,这个源代码通过递归实现只用PrintDigit函数(一次输出一个数字)输出一串数字#include #include #define PrintDigit( Ch ) ( putchar( ( Ch ) + '0' )
2014-12-01 22:20:19
284
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人