https://github.com/squidkid-deluxe/c-calculator
A simple C++ calculator
https://github.com/squidkid-deluxe/c-calculator
calculator cpp
Last synced: 2 months ago
JSON representation
A simple C++ calculator
- Host: GitHub
- URL: https://github.com/squidkid-deluxe/c-calculator
- Owner: squidKid-deluxe
- Created: 2020-04-11T17:43:01.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-04-11T18:05:48.000Z (over 6 years ago)
- Last Synced: 2025-01-14T11:02:00.095Z (over 1 year ago)
- Topics: calculator, cpp
- Language: C
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Calc.C
This is a very simple C++ script, only 57 lines without comments. It can do multiplication, division, addition, and subtraction.
To run the script, either use your favorite C++ compiler/runner or, to run from the terminal, follow these steps:
1. Compile the script by typing `make calc`.
2. Now run the script by typing `./calc`.
3. Follow the printed directions, and see the answer appear!
## Dependencies:
calc2.C
- iostream
- cstdlib
**NOTE:** *These are all standard libraries, and should require no installing.*