fork(1) download
  1. #include <iostream>
  2. #include <vector>
  3. #include <string>
  4.  
  5. int
  6. main()
  7. {
  8. std::vector<std::string> vs{
  9. "yes,",
  10. "you",
  11. "can"
  12. };
  13.  
  14. for (auto&& w : vs)
  15. {
  16. std::cout << w << ' ';
  17. }
  18.  
  19. return 0;
  20. }
Success #stdin #stdout 0s 3412KB
stdin
Standard input is empty
stdout
yes, you can