"Add get length function"
3 unresolved threads
3 unresolved threads
Closes #8 (closed)
Edited by orestis.malaspin
Merge request reports
Activity
1 # stack 2 1 # plz soyez gentil mercredi changed this line in version 2 of the diff
27 } 28 29 int get_length(stack *pile) 30 { 31 return pile->capacity; The length is rather the number of elements in the stack. Not the capacity.
Edited by orestis.malaspinchanged this line in version 3 of the diff
11 11 12 12 void stack_peek(stack s, int *value); 13 13 void stack_clone(stack s, stack *clone); 14 int get_length(stack *pile); changed this line in version 4 of the diff
added 3 commits
-
e2b5ab74...1dec4649 - 2 commits from branch
main
- 9d7603c5 - Merge branch 'main' into '8-add-get-length-function'
-
e2b5ab74...1dec4649 - 2 commits from branch
mentioned in commit cf9ddf4c
Please register or sign in to reply