diff options
| author | Charles <sircharlesaze@gmail.com> | 2020-01-18 12:11:36 +0100 |
|---|---|---|
| committer | Charles <sircharlesaze@gmail.com> | 2020-01-18 12:11:36 +0100 |
| commit | 5e0e41652315114a8b0d883c473dbbbfc1c28342 (patch) | |
| tree | 8e1440ccf9d686294c05c6f8b5907fe90ba4fda8 /src/common/stack.c | |
| parent | 2d34349b54a9fed4d34c96bdbec5172f7695cf60 (diff) | |
| download | push_swap-5e0e41652315114a8b0d883c473dbbbfc1c28342.tar.gz push_swap-5e0e41652315114a8b0d883c473dbbbfc1c28342.tar.bz2 push_swap-5e0e41652315114a8b0d883c473dbbbfc1c28342.zip | |
filled action functions (propably bloat), checker working, stack functions not so much
Diffstat (limited to 'src/common/stack.c')
| -rw-r--r-- | src/common/stack.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/stack.c b/src/common/stack.c index 02d3207..269dbc4 100644 --- a/src/common/stack.c +++ b/src/common/stack.c @@ -26,6 +26,7 @@ void stack_destroy(t_stack *stack) void stack_push(t_stack *stack, int n) { stack->top++; + printf("%d\n", stack->top); stack->elements[stack->top] = n; } |
