https://github.com/basemax/tinycalculator
Tiny Calculator with support of +, -, *, /, ^, sin, cos, tan...
https://github.com/basemax/tinycalculator
calculator calculator-application calculator-cpp calculatorapp calculators cpp
Last synced: 8 months ago
JSON representation
Tiny Calculator with support of +, -, *, /, ^, sin, cos, tan...
- Host: GitHub
- URL: https://github.com/basemax/tinycalculator
- Owner: BaseMax
- License: gpl-3.0
- Created: 2019-05-16T19:48:33.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-04-02T04:30:56.000Z (almost 2 years ago)
- Last Synced: 2025-05-04T21:45:55.546Z (8 months ago)
- Topics: calculator, calculator-application, calculator-cpp, calculatorapp, calculators, cpp
- Language: C++
- Size: 77.1 KB
- Stars: 11
- Watchers: 2
- Forks: 15
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Tiny Calculator C++
Tiny Calculator is a C++ file that allows you to use math functions like addition, subtraction, multiplication, division, exponentiation, square root, and the log functions from the command prompt.
## Installation and How To Use
This section is combined because you will already be in a terminal when cloning the project:
1. Forking from github repository
2. Using command prompt (or your device's equivalent)
### Forking from Repository
In order to this click the fork button on the top right corner of the screen. Then follow this tutorial on how to set up a github project:
[https://docs.github.com/en/get-started/quickstart/fork-a-repo](https://docs.github.com/en/get-started/quickstart/fork-a-repo)
### Using Command Prompt
(Note: must have `g++` compiler)
1. Put main.cpp, main.hpp, and pi.txt into a local folder of choice
2. Using command prompt navigate to the local folder with the files
3. Run the following commands:
```bash
$ g++ main.cpp -o executable_name_here.exe
$ executable_name_here.exe
```
From here type e to exit the program or press h to look at math operations to use
## Contributors
* [BaseMax](https://github.com/BaseMax)
* [EduardoJTR](https://github.com/EduardoJTR)
* [pandeym1](https://github.com/pandeym1)