Menu

Tree [0154bd] main v1.0.0 /
 History

HTTPS access


File Date Author Commit
 Bubble Sort Simulator 2025-01-12 Aryaman Datta Aryaman Datta [0154bd] Add files via upload
 README.md 2023-07-14 Aryaman Datta Aryaman Datta [6e9ea4] Update README.md
 freeglut.dll 2023-07-14 Aryaman Datta Aryaman Datta [254215] Add files via upload

Read Me

Bubble-Sort-Simulator

Bubble Sort Simulator is a Computer Graphics Program written in C++ and uses OpenGL. It simulates an aesthetic graphical visualization of the Bubble Sort algorithm on a User entered array of numbers to better ease understanding. It shows how adjacent numbers are compared and swapped. It also keeps a count of the number of passes, swaps and comparisons carried out. The main animation window of the Program uses GLFW and Modern OpenGL. The Menu Window on the other hand uses GLUT and legacy OpenGL functions.

Software Requirements

1) Visual Studio Community 2022 + desktop development with C++

Download Procedure

1) Download Visual Studio Community 2022 - https://visualstudio.microsoft.com/vs/community/
2) Follow the installation wizard. A window will pop up consisting of a list of optional packages to install along with visual studio.
3) Scroll down and check the box for Desktop Development with C++ and continue with the installation.
4) Once the installation is complete, launch visual studio, Create a new project, select empty project/blank project from the template list and click on the 'tools' button in the Menu bar. Then click on Get tools and features.
5) Click on 'Modify'. Scroll down and verify whether 'desktop development with C++' is checked or not. If not check it and click on 'modify'.
6) Once, it is verified that 'Desktop development with C++' is downloaded close visual studio.
7) Next, Download the 'freeglut.dll' file included in the repository. Move this file to C:\Windows\System32. A prompt asking for administrator authorisation will pop up. Just click on 'Continue'. It is completely safe :)
8) Next download the entire 'Bubble Sort Simulator' Folder from the repository to the local system and extract all files. The extracted Folder can be stored anywhere in the File Explorer.
9) Next, Open the 'Bubble Sort Simulator' Folder and open the 'Menu.exe' file or the 'Menu.vcxproj' file.
10) The Program should execute seamlessly.

Instructions for Operation

1) Use the up and down arrows to navigate through the Menu.
2) Press Enter to Select the particular Menu Choice
3) While Entering the numbers there are certain constraints. There have to be exactly 7 numbers and all of them have to be single digits from 0-9. Numbers can be repeated.
4) To Enter a number press the digit and press enter. Once all 7 numbers entered the animation will automaticallly start.
5) Anytime during the animation you can return to the Menu by pressing the enter key.
6) To return to the main menu press enter from any of the sections except the input window where 'M' key has to be pressed to return to the Main menu.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.