A simple unit converter written in C++ that can convert between various units such as length, weight, and temperature.
- Length Conversion: Convert between meters and kilometers.
- Weight Conversion: Convert between kilograms and pounds.
- Temperature Conversion: Convert between Celsius and Fahrenheit.
- Linux/Mac/Windows (with WSL for Windows)
- C++ compiler (g++)
- Internet connection for fetching dependencies (if any)
-
Clone the Repository:
git clone https://github.com/GET-UNKNOWN-ERR0R/unit_converter.git cd unit_converter
-
Make the
run.sh
script executable:chmod +x run.sh
-
Run the Program Using
run.sh
:./run.sh
The script will compile the C++ code and execute the program. Follow the on-screen menu to perform unit conversions.
-
Clone the Repository:
git clone https://github.com/GET-UNKNOWN-ERR0R/unit_converter.git cd unit_converter
-
Compile the Code:
If you have a C++ compiler (
g++
) installed, you can manually compile the code with:g++ -o unit_converter src/main.cpp
-
Run the Program:
Once compiled, run the program with:
./unit_converter
-
Choose a Conversion:
After running the program, you can choose the type of conversion (length, weight, or temperature) by selecting the corresponding option from the menu.
This project is licensed under the MIT License - see the LICENSE file for details.