Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 17th, 2012  |  syntax: None  |  size: 0.21 KB  |  hits: 12  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. typedef struct node_t
  2. {
  3.                 int value;
  4.                 struct node_t * next;
  5. } Node;
  6.  
  7. typedef struct stack_t
  8. {
  9.                 Node * top;
  10.                 int isempty;
  11.  
  12. } Stack;
  13.  
  14. void stackpush(Stack*, int);
  15. int stackpop(Stack*);
  16. void stackdispose(Stack*);