Basic Drawing objects technique

hi,

i try to implement an object oriented by making a class which each is representing an object and have its own drawing method. i apply lighting so glut object (glutSolidCube etc) is obselete (i think).

i found out that the only way to draw a correct lighted object is using gluQuadric. But I just cant find a method to draw a cube. Any idea how to draw a lighted object in openGL? im using glut for windowing and stuff.

thanks in advance

just to add some details, this is the sniplet


for (int i = 0; i < listOfObjects; i++) {
  pushMatrix();  
  listOfObjects.drawGlutSolidCube();
  popMatrix();
}

this will draw the object with no light effect on it.