Skip to content

Latest commit

 

History

History
34 lines (22 loc) · 901 Bytes

README.md

File metadata and controls

34 lines (22 loc) · 901 Bytes

Menufesto CPP

MenuFesto CPP is a limited C++ menu library that has a clear, defined purpose (much like a manifesto) and set of features to provide for creating and managing menus.

Files

  • main.cpp: The main driver code for the program.
  • menufesto.cpp: Implementation of the menu library.
  • menufesto.h: Header file for the menu library.
  • install.sh: Script to install the library and header file to the system.

Installation

To install the Menufesto library, run the following command:

sudo ./install.sh

This script will copy the library and header file to /usr/local/lib and /usr/local/include respectively. If necessary, run sudo ldconfig after installation.

Usage

Include the header file in your C++ code:

#include "menufesto.h"

Link against the library when compiling your program:

g++ -o myprogram main.cpp -lmenufesto