https://github.com/yuhexiong/calculator-cpp
https://github.com/yuhexiong/calculator-cpp
cpp
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/yuhexiong/calculator-cpp
- Owner: yuhexiong
- Created: 2023-12-23T13:40:39.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-30T14:34:20.000Z (about 2 years ago)
- Last Synced: 2025-01-30T01:14:40.913Z (over 1 year ago)
- Topics: cpp
- Language: C++
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Calculator
Simple calculator, supports basic addition, subtraction, multiplication, and division. Multiplication and division take precedence over addition and subtraction.
Does not support parentheses functionality.
## Overview
- Language: C++
- Compiler: G++ v13.1.0
## Build
```bash
g++ -std=c++11 calculator.cpp -o calculator
```
## Run
```bash
./calculator
```