[ create a new paste ] login | about

Link: http://codepad.org/BQzMSjSR    [ raw code | fork ]

C, pasted on Dec 24:
#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;
}


Output:
No errors or program output.


Create a new paste based on this one


Comments: