-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.c
25 lines (22 loc) · 1.06 KB
/
main.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
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* main.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: brulutaj <brulutaj@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/04/25 15:47:27 by brulutaj #+# #+# */
/* Updated: 2024/04/30 19:43:42 by brulutaj ### ########.fr */
/* */
/* ************************************************************************** */
#include "push_swap.h"
int main(int ac, char **av)
{
t_dll *stack_a;
stack_a = parse_input(ac, av);
if (!stack_a)
return (0);
solver(&stack_a);
dll_clear(&stack_a);
return (0);
}