Browse Source

Chut, chut, chut

master
Antoine Bartuccio 4 years ago
parent
commit
d787d870f8
Signed by: klmp200 GPG Key ID: E7245548C53F904B
  1. 2
      main.c

2
main.c

@ -23,7 +23,7 @@ int main(int argc, char* argv[]) {
if(argc == 3){
shared_data->set_main_building(shared_data, NEW(Building, argv[1], argv[2]));
} else if (argc == 1){
shared_data->set_main_building(shared_data, NEW(Building, "../Scripts/residents_500.txt", "../Scripts/visitors_500.txt"));
shared_data->set_main_building(shared_data, NEW(Building, "../residents.txt", "../visitors.txt"));
} else{
CRASH("Arguments invalides\nUsage : ./LO41 [residents_file visitors_file]\n");
}

Loading…
Cancel
Save