Next:
4.1.2 Deletion
Up:
4.1 Stack
Previous:
4.1 Stack
4
.
1
.
1
Creation
Just cast the pointer and call
ArrayADT_new
, then cast the return value and pass it along:
struct Stack *Stack_new(void) { return (struct Stack *)ArrayADT_new(); }
Copyright © 2006-10-23 by Tak Auyeung