Skip to content

renm10/SortingVisual

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

11 Commits
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Bubble Sort Visualizer ๐Ÿ“ˆ

A bubble sort visualizer created by C++ and SFML.

Follow Steps

  1. Compiling
g++ -I<Destination of SFML>\include -c ./src/sortingvisual.cpp -o sortingvisual.o
  1. Linking
g++ -L<Destination of SFML>\lib .\sortingvisual.o -o sortingvisual.exe -lmingw32 -lsfml-graphics -lsfml-window -lsfml-system -lsfml-main [-mwindows]
  • โš ๏ธ Adding a -mwindows command in the g++ -L command WILL NOT open a console. (NO COUT STATEMENTS WILL BE DISPLAYED IN THE TERMINAL)
  1. Running the Code
.\sortingvisual.exe

Requirements

SFML

Usage

Space Bar: Start the Algorithm
Q : Quit (Close window)

Demo

SortingVisual-gif

About

Bubble Sort Visualizer made in C++ using SFML.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published