https://github.com/brd6/bistromathique
https://github.com/brd6/bistromathique
c calculator epitech
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/brd6/bistromathique
- Owner: brd6
- Created: 2016-02-05T08:33:03.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-05-21T23:13:08.000Z (almost 9 years ago)
- Last Synced: 2025-01-15T19:43:50.867Z (4 months ago)
- Topics: c, calculator, epitech
- Language: C
- Homepage:
- Size: 53.7 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This project consists of creating a program that can perform arithmetic operations on numbers whose order of size is not fixed and in any base.
### Usage
```
./calc base operators size_read
```### Examples
```
echo "3+6" | ./calc 0123456789 "()+-*/%" 3echo "3v6" | ./calc 0123456789 "{}vwxyz" 3
echo "-(12-(4*32))" | ./calc 0123456789 "()+-*/%" 12
echo "-(e@-(;*!@))" | ./calc "~^@!;ie& ]" "()+-*/%" 13
```