/Calculator

Calculator for Understanding the structure of Cpp project

Primary LanguageC++MIT LicenseMIT

A simple calculator to learn C++ basic project files required

Base Program

This is a simple C++ project for learning the file structure and deployment of the project🤗

Update

  • 2023.12.17:Linux+Windows platform makefile.🔍

  • 2023.12.16:Base code in cpp:cactus:

Todo

  • Add Gradio webui.
  • Add more cal method.eg:sin,cos,log.
  • Add button for input exp.

Dependencies and Installation

Linux

  • opsys: Linux 6.2.0-39-generic #40~22.04.1-Ubuntu
  • gcc version: 11.4.0 (Ubuntu 11.4.0-1ubuntu1~22.04)
  • g++ version: 11.4.0 (Ubuntu 11.4.0-1ubuntu1~22.04)
  • Make version: GNU Make 4.3
  • python==3.10.8
  • Gradio==3.44.4
# clone this repo
git clone https://github.com/Justin-12138/Calculator.git

# create python virtual environment
python -m venv .
pip install -r requirements.txt

# build
make

Windows

  • opsys:Windows 11 Family Chinese version
  • gcc version: 8.1.0 (x86_64-posix-seh-rev0, Built by MinGW-W64 project)
  • g++ version: 8.1.0 (x86_64-posix-seh-rev0, Built by MinGW-W64 project)
  • Make version: GNU Make 4.4.1
  • python==3.10.8
  • Gradio==3.44.4
# clone this repo
git clone https://github.com/Justin-12138/Calculator.git

# create python virtual environment
python -m venv .
pip install -r requirements.txt

# build
make

Docker

License

This project is licensed under MIT License. Redistribution and use should follow this license.

Contact

If you have any questions, please feel free to reach me out at justinliu707@gmail.com.