cmdline menu libary
Switch branches/tags
Nothing to show
Clone or download
Latest commit aaa34b4 Sep 10, 2015

README.md

menu

cmdline menu libary

example code

#include <stdio.h>
#include <stdlib.h>
#include "menu.h"

int Quit(int argc, char *argv[])
{
    /* add XXX clean ops */
    exit(0);
}

int main()
{

    MenuConfig("version","XXX V1.0(Menu program v1.0 inside)",NULL);
    MenuConfig("quit","Quit from XXX",Quit);
    
    ExecuteMenu();
}