mise en place de l'algrithme
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user