Added init function
1 unresolved thread
1 unresolved thread
Issue : Init/create function
Merge request reports
Activity
assigned to @orestis.malaspin
- stack.c 0 → 100644
1 #include "stack.h" 2 #include <assert.h> 3 #include <stdio.h> 4 #include <stdlib.h> 5 6 #define DEFAULT_CAPACITY 4 7 8 void stack_init(stack *s) 9 { 10 assert(s->data!=NULL && "Error : stack already in memory"); changed this line in version 2 of the diff
added 2 commits
mentioned in commit 6aab0548
Please register or sign in to reply