fork download
  1. #include <iostream>
  2.  
  3. int main(int argc, char **argv) {
  4. for (int i = 0; i < argc; ++i) {
  5. std::cout << argv[i] << '\n';
  6. }
  7. }
Success #stdin #stdout 0s 15232KB
stdin
Standard input is empty
stdout
./prog