Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- std::string s = "#Hello #World!!";
- char c = '#';
- std::remove(s.begin(), s.end(), c);
- std::cout << s;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement