OpenGL 2.1 example code for C++

I found, under the documentation link, an OpenGL 2.1 Reference Page. This is awesome!

Does anyone know of some good places where I can find sample C++ code, using OpenGL 2.1 specifically, for doing things like loading, reading and writing images, displaying images in windows that can be resized, etc?

Here are just a few of the many possible ways to load image data into OpenGL:

Image Libraries (OpenGL wiki)

Once you’ve got an image loaded as a list of RGB or RGBA pixels, loading the image data into an OpenGL texture is simple. So this is more an exercise in learning how to use an image loading library.