mise en place de l'algrithme

This commit is contained in:
hugogogo
2021-06-12 02:20:56 +02:00
parent 1993a9a85d
commit ca0bf0cb61
7 changed files with 77 additions and 9 deletions

View File

@@ -33,9 +33,8 @@ int main(int ac, char **av)
is_valid(ac, av); // check if usage and list are correct
stack = init_stack(ac, av); // create the list from av[]
print_stack(stack);
result = sort_algo(stack);
ft_printf("%s\n", result->content);
ft_printf("\n%s\n", result->content);
ps_stop(stack, NULL, result, 0);
return(0);
}