The Scientific Calculator is a C++ project that provides a wide range of mathematical operations, including basic arithmetic, trigonometric functions, exponentiation, and more.
- Basic Arithmetic: Addition, subtraction, multiplication, and division.
- Exponentiation: Raise a number to a power.
- Trigonometric Functions: Sine, cosine, tangent.
- Square Root: Calculate the square root of a number.
- Logarithm: Calculate the logarithm of a number.
- Run the calculator application.
- Choose the desired operation from the menu by entering the corresponding number.
- Follow the on-screen prompts to input the required values.
- View the result of the operation.
- Compile the C++ source file using a C++ compiler (e.g., g++) with the following command:
g++ -o calculator src/calculator.cpp
- Run the compiled executable using the following command:
./calculator
Follow the on-screen prompts to perform the following operations:
- Addition
- Subtraction
- Multiplication
- Division
- Exponentiation
- Sine
- Cosine
- Tangent
- Square Root
- Logarithm
- Ceiling
- Floor
- Absolute Value
- Round
src/
: Contains the source code files.bin/
: Stores compiled executable files.build/
: Contains build files (object files, etc.).
I'm a passionate C++ developer, continuously learning and exploring new technologies.