#3878. 删除[字符串](C++四级)

删除[字符串](C++四级)

当前没有测试数据。

Background

本题要求实现一个删除[字符串]中的指定字符的简单函数。

函数接口定义:

void delchar( char *str, char c );

其中char *str是传入的字符串,c是待删除的字符。函数delchar的功能是将字符串str中出现的所有c字符删除。

Limitation

1s, 1024KiB for each test case.