Frag Infinity Tournament, Inc. - FITES LAN Party - www.fites.net

LAN Party Forums => Jokes and Fun => Started by: Agent4054 on August 18, 2007, 11:39:36 AM

Title: void do_FITES_LAN()
Post by: Agent4054 on August 18, 2007, 11:39:36 AM
 void do_FITES_LAN(int numPeople) {
     bool lanning = true;
     vector<CLanningPerson> lanningPeople;
     vector<CLanningPerson>::iterator iLanningPerson;
 
     for(int i=0; i<numPeople; i++) {
         lanningPeople.push_back(new CLanningPerson());
     }
 
     while(lanning) {
         for(
           iLanningPerson = lanningPeople.begin();
           iLanningPerson != lanningPeople.end();
           iLanningPerson++
         )
         {
             iLanningPerson.drink_redbull();
             iLanningPerson.play_games();
             iLanningPerson.make_noise();
             iLanningPerson.have_fun();
         }
     }
 }
 
 int main() {
     do_FITES_LAN(160); //HELL YEAH!!!
     return 0;
 }



There you go. Since I'm tired and .... yeah :P
Title: Re: void do_FITES_LAN()
Post by: llDayo on August 20, 2007, 09:20:41 AM
You should have used user input for the numPeople variable as 160 would have thrown an error for this weekend. :)