[SagLac-OpenSource] Party Code

Jean-Luc Cyr jlcyr at grafsoft.com
Mar 14 Déc 09:12:51 EST 2004


main (int argc, char **argv){
    invite_to_party();
    int count = get_responses();
    reserve_for_party(count);
}

void invite_to_party(){
    send_info("Bar le Zinc, St-Dominique, Jonquière","jeudi 16 Décembre 
2004 vers 17h00")
}

int get_responses(){
    add_participant("Julien");
    add_participant("Natasha");
    add_participant("Normard");
    add_participant("Guillaume");
    add_participant("Gilles");
    add_participant("Daniel");
    add_participant("Jean-Luc");
    wait_for_participant("1 more day");
    return participant_count();
}

void reserve_for_party(int count){
  /** to do
    *  add some phone number, call them
    *  say number of people and date/time
    */
}


Plus d'informations sur la liste de diffusion SagLac-OpenSource