#FIG 3.2 Landscape Center Inches A4 100.00 Single -2 1200 2 2 4 0 1 0 7 0 0 -1 0.000 0 0 7 0 0 5 12900 9300 12900 300 300 300 300 9300 12900 9300 2 1 0 1 0 7 100 0 -1 0.000 0 0 -1 0 0 3 900 9000 900 1500 12300 1500 4 1 0 0 0 18 24 0.0000 4 360 3720 6600 900 Modularit\351 (exemple)\001 4 0 0 100 0 14 18 0.0000 4 180 1155 900 1425 stack.h\001 4 0 0 100 0 14 18 0.0000 4 255 2475 1200 2100 #ifndef STACK_H\001 4 0 0 100 0 14 18 0.0000 4 255 2475 1200 2400 #define STACK_H\001 4 0 0 100 0 14 18 0.0000 4 240 4620 1200 3300 typedef struct stack *stack;\001 4 0 0 100 0 14 18 0.0000 4 225 2145 1200 3000 struct stack;\001 4 0 0 100 0 14 18 0.0000 4 240 5280 1200 4200 extern stack stack_create(void);\001 4 0 0 100 0 14 18 0.0000 4 255 4455 1200 3900 /* create an empty stack */\001 4 0 0 100 0 14 18 0.0000 4 255 7920 1200 5700 /* return a true value iff the stack is empty */\001 4 0 0 100 0 14 18 0.0000 4 255 6765 1200 6600 /* push an element on top of the stack */\001 4 0 0 100 0 14 18 0.0000 4 255 8580 1200 7500 /* pop the top element of the stack and return it */\001 4 0 0 100 0 14 18 0.0000 4 240 5280 1200 7800 extern void *stack_pop(stack s);\001 4 0 0 100 0 14 18 0.0000 4 240 7755 1200 6900 extern void stack_push(stack s, void *element);\001 4 0 0 100 0 14 18 0.0000 4 210 990 1200 8400 #endif\001 4 0 0 100 0 14 18 0.0000 4 240 5280 1200 6000 extern int stack_empty(stack s);\001 4 0 0 100 0 14 18 0.0000 4 255 7425 1200 4800 /* destroy a (not necessarily empty) stack */\001 4 0 0 100 0 14 18 0.0000 4 240 5775 1200 5100 extern void stack_destroy(stack s);\001