a la norme
This commit is contained in:
@@ -37,8 +37,6 @@ t_stack *init_stack(int ac, char **av)
|
||||
|
||||
// the chained list "solution" is created with specials first two elements :
|
||||
// they are pointers to stack a and b, so it can be accessed by fill_solution()
|
||||
|
||||
// bubble_sort(&a, &b, solution);
|
||||
t_list *launch_algo(t_stack **a, t_stack **b, int flag)
|
||||
{
|
||||
t_list *solution;
|
||||
@@ -50,6 +48,7 @@ t_list *launch_algo(t_stack **a, t_stack **b, int flag)
|
||||
hugo_sort(a, b, solution);
|
||||
return (solution);
|
||||
}
|
||||
// bubble_sort(&a, &b, solution);
|
||||
|
||||
int main(int ac, char **av)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user