fix ampersand, removed count function
This commit is contained in:
parent
90f6847764
commit
1e27921fbe
@ -17,12 +17,10 @@ void print_stack(struct stack* stack);
|
|||||||
float pop_stack(struct stack* stack);
|
float pop_stack(struct stack* stack);
|
||||||
// Pridanie do zasobnika
|
// Pridanie do zasobnika
|
||||||
void push_stack(struct stack* stack,float value);
|
void push_stack(struct stack* stack,float value);
|
||||||
// Velkost zasobnika
|
|
||||||
int count_stack(struct stack* stack);
|
|
||||||
|
|
||||||
|
|
||||||
int main(){
|
int main(){
|
||||||
struct stack mystack;
|
struct stack mystack;
|
||||||
memset(mystack,0,sizeof(struct stack));
|
memset(&mystack,0,sizeof(struct stack));
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user