摘要: #include<stdio.h>void trimspae(char *str,char *newstr){ char*p=str; int i,j,ncount; i=0; j=strlen(p)-1; if(str==NULL||newstr==NULL) { printf("func tri 阅读全文
posted @ 2018-03-07 15:41 晴天麦芽糖 阅读(212) 评论(0) 推荐(0) 编辑
摘要: #include<stdio.h>int getcount(char *mystr,char *sub,char *ncount){ int ret=0; char *p=mystr; int tmpcount; if(mystr==NULL||sub==NULL||ncount==NULL) { 阅读全文
posted @ 2018-03-07 10:54 晴天麦芽糖 阅读(720) 评论(0) 推荐(0) 编辑