fork download
  1. #include <iostream>
  2. #include <string>
  3.  
  4.  
  5. void Graph_toFile(std::string filename)
  6. {
  7. filename += "_new.txt";
  8. std::cout << "opening " << filename << "\n";
  9. }
  10.  
  11. int main() {
  12. Graph_toFile("hello_world");
  13.  
  14. return 0;
  15. }
Success #stdin #stdout 0s 3412KB
stdin
Standard input is empty
stdout
opening hello_world_new.txt