fork download
  1. #include <iostream>
  2. #include <sstream>
  3.  
  4. int main() {
  5. std::stringstream test;
  6. test << "Hello worl";
  7. std::cout << test.str();
  8. }
Success #stdin #stdout 0s 4272KB
stdin
Standard input is empty
stdout
Hello worl