A simple graphing calculator built in pure C++ with raylib for real-time graphing and visualization.
- Function Plotting: Visualize functions such as polynomials, trigonometric functions, exponential, and more.
- Real-time Graph Updates: View changes to graphs instantly as functions are modified.
- C++ Compiler: Make sure you have a C++98 or later compiler.
- raylib Library: This project requires raylib for rendering. You can install it using the instructions on the raylib installation page.
-
Clone the Repository:
git clone https://www.github.com/abdiToldSo/DesmoC cd DesmoC -
Install raylib: Follow the instructions on the raylib installation page to set up raylib for your operating system.
-
Compile the Project: Assuming raylib is installed, compile the project with the following command:
g++ -o DesmoC main.cpp -lraylib -lm
-
Run the Application:
./DesmoC
- Input Functions: Use the function input section to type mathematical expressions.
This calculator can render a variety of functions, including:
- Basic Arithmetic:
+,-,*,/ - Trigonometric Functions:
sin(x),cos(x),tan(x) - Exponential and Logarithmic:
exp(x),log(x),pow(x, y) - Polynomial Functions: Input polynomials like
x^2 + 3x + 2


