home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Interactive Guide
/
c-cplusplus-interactive-guide.iso
/
c_ref
/
csource4
/
262_01
/
menu.h
< prev
next >
Wrap
Text File
|
1988-03-30
|
512b
|
30 lines
/************************************************
* Definitions for Menu Manager *
************************************************/
struct menu {
char *question;
struct mline {
char *answer;
int (*routine)();
int *parameter;
}
selection[1];
};
#define MENU struct menu
#define MLINE struct mline
#define MAXMDEPTH 8
extern MENU m;
extern hist[MAXMDEPTH], *hptr;
menu {
char *question;
struct mline {
char *answer;
int (*routine)();
int *parameter;
}
sel