I'm trying to draw a cube using VBO.
I'm using freeglut & glew.
Here is my code


#include <GL/glew.h>
#include <GL/glut.h>
#include <stdio.h>

const int g_width = 800;