Bloodshed Dev-C++ is a full-featured Integrated Development Environment (IDE) for the C/C++ programming language. It uses Mingw port of GCC (GNU Compiler Collection) as it’s compiler. Dev-C++ can also be used in combination with Cygwin or any other GCC based compiler.
Here is a short tutorial that was pointed to me to setup Dev C++ with OpenGL. The tutorial is from the collection of Programming Tutorials and Lecture Notes from the Computer Science Department of Central Connecticut State University.