fork(8) download
  1. #include <iostream>
  2. #include <string>
  3. int main ()
  4. {
  5. std::string s = "how are you doing?";
  6. s.erase(s.find(' '));
  7. std::cout << s << '\n';
  8. }
  9.  
Success #stdin #stdout 0.01s 2812KB
stdin
Standard input is empty
stdout
how