Introduction - If you have any usage issues, please Google them yourself
#include <windows.h> // Header File For Windows
#include <gl\gl.h> // Header File For The OpenGL32 Library
#include <gl\glu.h> // Header File For The GLu32 Library
#include <gl\glaux.h> // Header File For The Glaux Library
HDC hDC=NULL // Private GDI Device Context
HGLRC hRC=NULL // Permanent Rendering Context
HWND hWnd=NULL // Holds Our Window Handle
HINSTANCE hInstance // Holds The Instance Of The Application
bool keys[256] // Array Used For The Keyboard Routine
bool active=TRUE // Window Active Flag Set To TRUE By Default
bool fullscreen=TRUE // Fullscreen Flag Set To Fullscreen Mode By Default
LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM) // Declaration For WndProc
GLvoid ReSizeGLScene(GLsizei width, GLsizei height) // Resize And Initialize The GL Window
{
if (height==0) // Prevent A Divide By Zero By
{
height=1 // Making Height Equal One
}
glViewport(0,0,width,height)