This is a C++ program demonstrating the use of SOIL library to add an image to your OpenGL project.
See main.cpp for the source code.
Note: To download the library, visit: http://www.lonesock.net/soil.html
For more info on functions and their arguments goto: http://ihge.googlecode.com/svn/trunk/src/core/soil/SOIL.h