Ok, attached are the image and my template code I use in all of my games involving OpenGL. It is my template project and should be able to compile and create a program immediately. Assuming you want to actually use the code, however, you'll need a few files from my library, which are attached in a separate zip.

-note-
because of the stupidity of not being able to upload .zip files, you need to rename the two .txt files to .zip to open them correctly.