CalcPlusPlus is a simple C++ command-line tool for solving basic mathematical expressions.
- Supports the following operations:
- Addition (
+
) - Subtraction (
-
) - Multiplication (
*
) - Division (
/
) - Exponentiation (Power) (
^
) - Parentheses for grouping
- Addition (
- C++ compiler (e.g., g++)
- Clone the repository:
git clone https://github.com/csboo/calcplusplus.git
- Compile the code:
g++ -o calc++ calc++.cpp
- Display help:
./calc++
- Calculate an expression:
./calc++ "2 + 2 * 3"