C++/OpenGL/SDL

What do i need in my code file to allow OpenGL in SDL to run OpenGL code.:tired::):dejection::sick:

you sound confused, haha

May I recommend you try Code::Blocks IDE with MinGW compiler included?
Also, you may find SFML more useful and friendly than SDL.

think of SDL, or SFML, as a container for your program to run in. It makes things you would want to do with OpenGL, easier to do.

http://sfml-dev.org/tutorials/1.6/window-opengl.php

There is a nice easy example program that lets you just head first into OpenGL.
If you’d like some help setting up your development environment, let me know.