If you'd like to read in more complex models rather than generating your
own, a fairly basic library to read Alias Wavefront OBJ files is
Nate Robins' GLM.
You can get it from many places, e.g.,
Avimator's SVN
(glm.cpp and glm.h). Basic usage (see the header file):
#include "glm.h"
GLMmodel* myModel = glmReadOBJ("myfile.obj", 0);
glmDraw(myModel, GLM_NONE, 0);