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:
parent
b00cb030be
commit
d787d870f8
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…
Reference in New Issue
Block a user