fork download
  1. #include <iostream>
  2. #include <vector>
  3.  
  4. int testFunction(char* tester);
  5.  
  6. void testFunction(std::vector<int> addons) { for(int i =0 ; i<addons.size();++i) { std::cout<<addons.at(i); } }
  7.  
  8. int main(int argc, char* argv[])
  9. { std::vector<int> Addons;
  10. for(int i = 0 ;i<10;++i) { Addons.push_back(i); } testFunction(Addons);
  11.  
  12.  
  13. }
  14.  
  15.  
Success #stdin #stdout 0.01s 2856KB
stdin
Standard input is empty
stdout
0123456789