Functions in C++ | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
0

Functions in C++

I am trying to write a code that replaces all weird signs in a string with underscore. However, it's not runnings https://code.sololearn.com/co7zmXJDtPmB/?ref=app

3rd Dec 2020, 1:56 AM
Reynolds Onyango
Reynolds Onyango - avatar
1 ответ
+ 6
use `std::replace_if` instead of `std::replace`.
3rd Dec 2020, 2:01 AM
Schindlabua
Schindlabua - avatar