函数fun的功能是:判断ch中的字符是否与str所指串中的某个字符相同;若相同,什么也不做,若不同,则将其

[复制链接]
查看11 | 回复1 | 2011-1-26 10:55:23 | 显示全部楼层 |阅读模式
经测试,程序完全正确。下面是运行结果:Please enter a string:abcPlease enter the character to search: dThe resultis abcd请按任意键继续. . ....
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行