home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The C Users' Group Library 1994 August
/
wc-cdrom-cusersgrouplibrary-1994-08.iso
/
listings
/
v_10_04
/
1004092a
< prev
next >
Wrap
Text File
|
1992-02-10
|
216b
|
19 lines
#include <stdio.h>
enum node_type {Error, Char, Int, Double, String};
typedef struct {
enum node_type type;
union {
char c;
int i;
double d;
char *s;
} value;
} node;
void push(node);
node pop(void);