home *** CD-ROM | disk | FTP | other *** search
/ C by Discovery (4th Edition) / C_By_Discovery_4th_Edition.tar / C_By_Discovery_4th_Edition / CH_08 / 473.jpg < prev    next >
Joint Photographic Experts Group Image  |  2014-01-29  |  504KB  |  2550x3300
Labels: binder | book | crt screen | poster | reckoner
OCR: Typedefs grammer will not have to make additional declarations about the function types The second file to be discussed, stack .C is listed in Example 8-10. It contains the declarations of the stack utility functions usts Example 8-10 stack.c stack.c This file contains the stack utility funct ions push( ()dod 10 init stack is empty( and is full Incl ude Files #inc lude stack.h" Note * * * * * * * * * init stack() void init stack( STACK ptr Note 2 ptr->top MAX; Note 3 is empty int is empty( STACK ns of s.top >= MAX Note 4 ude return 1 else return full() ****/ int is full STACK top Note 5 * / else functi