-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.c
27 lines (24 loc) · 1.07 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
26
27
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* main.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: hgrissen <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2021/07/22 17:40:54 by hgrissen #+# #+# */
/* Updated: 2021/07/22 20:57:55 by hgrissen ### ########.fr */
/* */
/* ************************************************************************** */
#include "push_swap.h"
int main(int argc, char **argv)
{
t_stack *stack;
if (argc >= 2)
{
stack = create_stack(argv);
indexation(stack);
markup_stack(stack);
solve(stack);
}
return (0);
}