fork download
  1. //write lines to file
  2. std::ofstream ofs("out.txt");
  3. for (std::vector<std::string>::iterator it = cl_lines.begin(); it != cl_lines.end(); ++it)
  4. {
  5. ofs << *it;
  6. }
Not running #stdin #stdout 0s 0KB
stdin
Standard input is empty
stdout
Standard output is empty