fork download
  1. #include <iostream>
  2.  
  3. int main(int argc, char *argv[])
  4. {
  5. std::string s = "string";
  6. std::cout << s + std::to_string(10) << std::endl;
  7.  
  8. return 0;
  9. }
Success #stdin #stdout 0s 3472KB
stdin
Standard input is empty
stdout
string10