This project visualizes two sorting algorithms Bubble Sort and Selection Sort on given user input. User must give no of inputs (maximum 9 for the project) and give the inputs for the visualization.
- Download and install Code::Blocks for running this project.
- Setup Graphics in Code::Blocks Click here
- After installing Code::Blocks, and setupping the graphics in Code::Blocks open this repo as an project in Code::Blocks.
- Compile and run the project.
- Two windows will appear, one window for visualizing the algorithms and one for the input.
- First we need to give input and choose sorting algorithm so first select the input window.
- Select among the Bubble Sort and Selection Sort for visualiztion.
- Then give input in the input window. Give no of inputs (max 9) and give respective inputs.
- Then go to the visual window where we can see the visuals.
- Press enter for the visualization to begin.