This repository contains a light weight template to create interactive options in C++ (CPP). It is designed to help developers implement user-friendly command-line interfaces efficiently.
- Recommended Version: V-3
- Modular Functions: It's advisable to create multiple functions for different functionalities, ensuring clean and maintainable code.
- Reference Example: An example program is included to guide you in implementing the template.
To compile and run the program, follow the steps below:
-
Open Terminal: Launch your terminal application.
-
Navigate to the Project Directory:
- Use the
cdcommand to change to the directory containing your C++ source file. - For more information about using
cd, you can typeman cdin the terminal.
- Use the
-
Compile the Program:
- Execute the following command:
g++ program_name.cpp -o Name.exe
- Execute the following command:
-
Run the Compiled Program:
- Use the command below to execute the final executable:
./Name.exe
- Use the command below to execute the final executable:
An example of how to implement the options is provided within the repository. You can use this as a reference to structure your program correctly.
Contributions are welcome! If you have suggestions or improvements, please feel free to make a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.
For any questions, feel free to reach out via the contact information provided in the repository.
Thank you for using the Button Template! Happy coding!