texture mapping images

I’m using glut on a mac. I want to texture map an image as background for my project. If you have any suggestions for code or sites where i could find code it would be a big help.

See http://nehe.gamedev.net/opengl.asp … I think all code samples there is available for the mac, too. Just scroll down to the bottom of each tuturial – tut’s are opened by clicking the image on the left.

I’m new, but I create a background image by drawing a big quad that fills the screen, and then map my texture on it. I made an earlier post under “Alphablending” that shows a snip of the LoadIdentity, Translatef stuff that I use for that purpose.