-
Notifications
You must be signed in to change notification settings - Fork 0
/
push_swap.c
26 lines (23 loc) · 1.04 KB
/
push_swap.c
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
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* push_swap.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: asibille <asibille@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/03/24 19:38:01 by asibille #+# #+# */
/* Updated: 2022/03/28 08:56:20 by asibille ### ########.fr */
/* */
/* ************************************************************************** */
#include "push_swap.h"
int main(int argc, char **argv)
{
t_data ps;
if (argc >= 2)
{
ft_init_data(&ps, argv, argc);
ft_res(&ps);
}
ft_free(ps.sta);
return (0);
}