1. //Constructor
  2. int i;
  3. for (i=0;i<=9;i++){
  4.  
  5. i Team(array[i],0,0,0,0,0,0,0);
  6.  
  7. }
  8.  
  9. //constructor
  10.  
  11. Team teams[8]; //Creates an array of objects
  12.  
  13. for (int i = 0; i<8; ++i) { //Assuming an array of size 8 is passed
  14. teams[i] = array[i];
  15. }