Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef STACK_H
- #define STACK_H
- struct Stack {
- struct Link {
- void* data;
- Link* next;
- void initialize(void* dat, Link* nxt);
- }* head;
- void initialize();
- void push(void* dat);
- void* peek();
- void* pop();
- void cleanup();
- };
- #endif // STACK_H
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement