its done, but can you help me try to run the code??
i cant input any thing, it straight crash after i input
Type: Posts; User: imbax8299
its done, but can you help me try to run the code??
i cant input any thing, it straight crash after i input
void stk_push(stack*s){
char item[20];
if(stk_isFull(s)){
printf("stack is full\n\n");
}else{
printf(" KEY IN THE ITEM YOU WANT TO PUSH\n\n");
scanf("%s",&item);
s->storage[s->top]...
then wat to change to make it correct ??
i wan to intent a stack of strings
hmm i dont understand ...
This is my code for my homework ( Pop and push from stack)
i get something wrong with this,
why when i make the 2nd time selection, the program will crash??
anyone can tell me or help me edit it...