摘要: #include <stdio.h>#include <string.h> #define NUM 50char word[NUM]; int main(int argc, char * argv[]){ printf ("*****"); /*待处理字串*/ char str[]=" a.out 100 200 ";//a.out 100 200 /*i 待处理字串的索引位置 count 新字串的索引位置 status 当前字符的状态*/ int i=0,status=0,count=0; while... 阅读全文
posted @ 2012-06-08 11:03 黑蛋 阅读(147) 评论(0) 推荐(0)