TinyCalculator
Tiny Calculator with support of +, -, *, /, ^, sin, cos, tan...
Install / Use
/learn @BaseMax/TinyCalculatorREADME
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:
- Forking from github repository
- 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
Using Command Prompt
(Note: must have g++ compiler)
- Put main.cpp, main.hpp, and pi.txt into a local folder of choice
- Using command prompt navigate to the local folder with the files
- Run the following commands:
$ 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
Related Skills
openhue
341.8kControl Philips Hue lights and scenes via the OpenHue CLI.
sag
341.8kElevenLabs text-to-speech with mac-style say UX.
weather
341.8kGet current weather and forecasts via wttr.in or Open-Meteo
tweakcc
1.5kCustomize Claude Code's system prompts, create custom toolsets, input pattern highlighters, themes/thinking verbs/spinners, customize input box & user message styling, support AGENTS.md, unlock private/unreleased features, and much more. Supports both native/npm installs on all platforms.
