Skip to content

Latest commit

 

History

History
25 lines (21 loc) · 457 Bytes

README.md

File metadata and controls

25 lines (21 loc) · 457 Bytes

libTreeSim

A free library made with freeglut to simulate binary trees from command line programs written in c/c++.
Uses pthread, freeglut, openGl,... etc

#Usage Default structure should be like this :

typedef struct bintree
{
item d;
struct bintree *l;
struct bintree *r;
} tree;

To initialize :

init(&bst);

To redraw current state of binary tree

redraw();