1
0
mirror of https://gitlab.com/klmp200/LO41.git synced 2024-12-03 14:31:13 +00:00

Chut, chut, chut

This commit is contained in:
Antoine Bartuccio 2018-06-22 07:14:11 +02:00
parent b00cb030be
commit d787d870f8
Signed by: klmp200
GPG Key ID: E7245548C53F904B

2
main.c
View File

@ -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");
}