All about using TEXTURES

I need to learn much more about texturing and have problems with the glaux library with my compiler(borland C++ builder5).I need source/examples using glTexImage2D,glTexSubImage2D.Can anyone tell me a site or information?
THANKS