codepad
[
create a new paste
]
login
|
about
Language:
C
C++
D
Haskell
Lua
OCaml
PHP
Perl
Plain Text
Python
Ruby
Scheme
Tcl
#define MAX_MENU_OPTIONS 1 typedef struct _NEW_MENU_OPTION { char* name; int type; char* opt1; int value1; int cycleid; int cycle_max; int cycle_min; int onenter; } NEW_MENU_OPTION; int main() { NEW_MENU_OPTION menu_options[MAX_MENU_OPTIONS]; int menu_location = 0; switch(menu_options[menu_location].onenter) { case 0: break; } return 0; }
Private
[
?
]
Run code
Submit