I recently started learning OpenGL and; in turn, began to read OpenGL SuperBible 6th edition, which uses OpenGL 4.3.
My problem is the sb6.h header file, because the book said it was a C ++ header file that defines a namespace called sb6 that includes an application class declaration.
When I try to compile my program, my C ++ IDE (Visual Studio 2010) throws an error message indicating that such a header file was not found.
So, perhaps one of you has heard about this problem, and also started reading this book and knows how to fix this problem; if so answer.
#include "sb6.h"
class my_application : public sb6.application
{
public :
void render(double currentTime){
static const GLfloat red[] = {1.0f , 0.0f , 0.0f , 1.0f};
glClearBufferfv(GL_COLOR, 0 , red) ;
}