ca remarche et c compatible avec luke
This commit is contained in:
@@ -44,8 +44,9 @@ int main(int ac, char **av)
|
||||
is_valid(ac, av); // check if usage and list are correct
|
||||
flag = check_flag(&ac, &av); //check for flag, like print
|
||||
stack = init_stack(ac, av); // create the list from av[]
|
||||
result = sort_algo(stack, flag);
|
||||
// print_result(result);
|
||||
result = sort_algo(stack);
|
||||
(void)flag;
|
||||
print_result(result);
|
||||
ps_stop(stack, NULL, result, 0);
|
||||
return(0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user