This visualizer program was made using C++ and SFML library.
STEPS TO RUN PROGRAM:
Without IDE:
Just download and run the executable play file.
With IDE:
- Clone Repository
- Locate and open folder in IDE
- Add or link SFML include and lib folders
- Open terminal in IDE
- Type the command
make game
- Run using
./play
What program has to offer:
There are 5 sorting algorithms you can visualize in this program.
To Run:
Hit 0 for New Vector
Hit 1 for Bubble Sort
Hit 2 for Insertion Sort
Hit 3 for Merge Sort
Hit 4 for Quick Sort
Hit 5 for Selection Sort
Note: ALLOW PROGRAM TO FINISH SORT EXECUTION BEFORE CALLING NEW ACTION
What Are You Waiting For? Get To Sorting!
- Clone the repository
- Compile all .cpp files in the
Benchmarking
folder withg++ main.cpp sort.cpp -o main
. - Run the executable with
./main
. - Choose the sequence (sorted, random, reversed or partially sorted) you want, and a .csv file (with runtime for all sorting algorithms versus various input sizes) will be created in your current directory :)