mirror of
https://github.com/DavidGailleton/42-Push_Swap.git
synced 2026-01-27 08:41:58 +00:00
Add index in t_stack + indexer function to add it
This commit is contained in:
@@ -23,6 +23,7 @@ int test1(char **tab, int len, int mod)
|
||||
if (mod == -1)
|
||||
return (0);
|
||||
stacks = init_stacks(len, tab, mod);
|
||||
indexer(stacks);
|
||||
if (!stacks)
|
||||
return (0);
|
||||
if (check_order(stacks->a))
|
||||
|
||||
Reference in New Issue
Block a user