Originally, this was developed in C++ in my college years. It has now developed into a project in the programming language Lua. You can use C++ with the latests v2.0.2-stable if you want or use the latest version with Lua.
Before downloading this program you should have the following things installed depending on how you want to use this program.
- Lua 5.1 or higher
- Clone the repository:
git clone https://github.com/Robert-Walker0/Triangle-Calculator.git
- Navigate to your project directory:
cd Triangle-Calculator
- Delete the project directory:
rmdir "Triangle-Calculator" /s /q
- Delete the project directory:
rm -rf "Triangle-Calculator"
To use the triangle calculator, run the commands below and follow the prompts afterwards.
cd .\src\lua
lua main.lua
cd src/lua
lua main.lua
- C++14 or higher is required for older versions
Use something like this to run it. The slashe
Note: The source file is in src/cpp
# Building for Windows
g++ src\cpp\main.cpp -o bin\main
bin\main
# Building for Linux
g++ src/cpp/main.cpp -o bin/main
bin/main
Contributers are always welcome here! Please feel free to submit a pull request or open an issue on this project.
Please open an issue before submitting a pull request.