finish the bonus just need to verify some files i guess

This commit is contained in:
Maoake Teriierooiterai
2026-01-14 10:22:15 +01:00
parent fe69eeb821
commit 68dbe33733
18 changed files with 116 additions and 60 deletions

View File

@@ -31,7 +31,8 @@ void pa(t_stacks *stacks)
}
stack_add_front(&(stacks->a), b_push);
stacks->pa++;
write(1, "pa\n", 3);
if (stacks->print)
write(1, "pa\n", 3);
}
void pb(t_stacks *stacks)
@@ -51,5 +52,6 @@ void pb(t_stacks *stacks)
}
stack_add_front(&(stacks->b), a_push);
stacks->pb++;
write(1, "pb\n", 3);
if (stacks->print)
write(1, "pb\n", 3);
}