
//  ARRAYOFPEOPLE.CC
  
#include "individual.cc"

class ArrayOfPeople
      {
       public:

         Individual folks[NUMPEOPLE];
         ArrayOfPeople(){};       //    Default constructor; don't need to do anything here.

         void Init();                          //  Initial declarations of methods.  Implemented
         void Swap(int first, int second);     //  later (below actually).
         void Print();
        };



 
//  Methods for the Class ArrayOfPeople

void ArrayOfPeople::Swap(int first, int second)        //  Swap folks[first] with folks[second].
       { 
         Individual tempIndividual;      
                                                       //    ADD CODE HERE !
        } 

void ArrayOfPeople::Init()               //  Initialize "folks" array with diff. individuals.
        {
          for(int i = 0; i< NUMPEOPLE;i++)
             folks[i].Init(i);
        }

void ArrayOfPeople::Print()             //  Print each individual in the folks array, to console,
                                        //   using the Print method in each individual.
        {
                                        //  ADD CODE HERE!
         }
       
