Advertisement
Guest User

Untitled

a guest
Jan 24th, 2020
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.10 KB | None | 0 0
  1. std::string s = "#Hello #World!!";
  2. char c = '#';
  3. std::remove(s.begin(), s.end(), c);
  4. std::cout << s;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement