Skip to content

mengning/menu

Repository files navigation

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();
}

User Links

Releases

No releases published

Packages

No packages published