摘要: #include <stdio.h>#include <string.h>//pInputStr中是原来待处理的字符串,m是其大小//pOutputStr是删除重复后的字符串,其大小用n返回void RemoveRepeatChar(const char* pInputStr, int m,char* pOutputStr, int* n){ int k = 0; //开始时,pOutputStr是空的,所以赋值0 //遍历pInputStr中的字符 for( int i = 0; i < m; i++) { char Test_char = pInputStr[ 阅读全文
posted @ 2012-09-12 12:08 DylanTsou 阅读(4919) 评论(0) 推荐(0) 编辑