How can I replace multiple characters with just one (C++)?

后端 未结 0 464
耶瑟儿~
耶瑟儿~ 2020-12-18 04:35

We have a char. We need to replace all "ab" characters from our char with letter "c".

Example we have :

abracadabra

the output will

相关标签:
回答
  • 消灭零回复
提交回复
热议问题