-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.c
More file actions
31 lines (28 loc) · 1.11 KB
/
Copy pathmain.c
File metadata and controls
31 lines (28 loc) · 1.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* main.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: cpoulain <cpoulain@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/08/27 01:09:07 by cpoulain #+# #+# */
/* Updated: 2024/08/27 17:40:34 by cpoulain ### ########.fr */
/* */
/* ************************************************************************** */
#include "./includes/lib.h"
int main(int argc, char **argv)
{
t_map map_data;
int i;
if (argc < 2)
ft_init_solving(NULL, &map_data);
else
{
i = 1;
while (argv[i])
{
ft_init_solving(argv[i++], &map_data);
}
}
return (0);
}