Help for this page

Select Code to Download


  1. or download this
    class Somesuch {
      public void main(String[] arguments) {
        ...
      }
    }
    
  2. or download this
      std::vector<Data> myArray;
    
    ...
      for (int i = 0; i < myArray.size(); i++) {
        process(&myArray[i]);
      }
    
  3. or download this
      for (std::vector<Data>::iterator i = myArray.begin();
           i != myArray.end();
           i++) {
        process(&*i);
      }
    
  4. or download this
      for (@array) {
        process($_);
      }
    
  5. or download this
      process($_) for (@array);