摘要: #include #include #include /*功能:将输入的字符串中英文大写字母改成对应小写字母,并且过滤掉非英文字母字符 输入:字符串 输出:结果字符串,保证输出地址有效。 返回:0表示成功,其它返回-1 */int ProcessString(char * strInput,char *strOutput){ while (*strInput) { if (isalpha(*strInput)) { char single = *strInput; *strOutp... 阅读全文
posted @ 2013-09-10 17:07 jdfemqi 阅读(3866) 评论(0) 推荐(1) 编辑