   adding GLEW library
  added glew32.lib and glew32.dll is accessible.#include <GL\glew.h>#include <SDL.h>my openGL program still runs but hangs when I add this:GLuint vbo_name[5];...void func(void) {glGenBuffers(1, vbo_name);I think my code is right, maybe GLEW isn't working?   
  Two things to check:1) Have you called glewInit()?2) Does your video card actually supports that? (and in that case, are you using GLEW to determine that it is actually supported?)   ;  Avocados, try reading the documentation more carefully next time.  GLEW must be initialized after the OpenGL window is created.http://glew.sourceforge.net/basic.html   