A simple C++ application using SFML to visualize different sorting algorithms.
- Supports Bubble Sort, Selection Sort, Insertion Sort, Quick Sort, and Merge Sort.
- Graphical visualization of sorting steps.
- Option to shuffle the dataset and choose sorting algorithm again.
- Highlights active comparisons in red.
- SFML Library installed on your system
- g++ compiler
# Compile the program
g++ -o sorter main.cpp -lsfml-graphics -lsfml-window -lsfml-system
# Run the program
./sorter- Run the executable.
- Choose a sorting algorithm from the menu.
- Watch the sorting process in real-time.
- Shuffle and choose another algorithm if needed.
- Exit when done.
This project is open-source and available under the MIT License.
