Help setting up matrixes for the a camera..

Could someone post or point me to a clean clear simple example of setting up a camera?
without using GLUT please… im looking for an example that uses a non-isometric camera.