送交者: heretic 于 2009-07-30, 15:14:52:
# typedef struct list_t {
# double item;
# struct list_t *next;
# } list_t;
#
#
# list_t *st = NULL; /* To be used as our stack. Starts out as empty (NULL). */
#
# /* push: push f onto value stack */
# void push(double f)
# {
# /* Your code goes here. */
# }
#
# /* pop: pop and return top value from stack */
# double pop(void)
# {
# /* Your code goes here. */
# }