2015年6月17日

c 链表实例

摘要: #include #include struct node{ int data; struct node *next;};typedef struct node NODE;typedef struct node * PNODE;PNODE constructlist( PNODE head,... 阅读全文

posted @ 2015-06-17 14:42 嘘寒问暖 阅读(258) 评论(0) 推荐(0) 编辑

c 删除字符串中的指定字符

摘要: #include #include void delChar(char *s, char ch){ int i,j; int len = strlen(s); for(i = 0; i < len; i++) { if(s[i] == ch) { for(j = i; j < len; ... 阅读全文

posted @ 2015-06-17 11:25 嘘寒问暖 阅读(1396) 评论(0) 推荐(0) 编辑

导航