Failed depth test

This is a plea for help on a problem I’m having on an urgent program.
The problem is that when I move around certain objects can be seen through other objects in front of them.
I have used
glutInitDisplayMode(GLUT_DOUBLE | GLUT_RGB | GLUT_DEPTH);
in my main function.
glEnable(GL_DEPTH_TEST);
in my init function and
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
in my display function.

I think this problem might have something to do with the cylinder I made using the gluCylinder command.

Any help would be greatly appreciated. Thanks

Muhaha

It’s O.K now I’ve solved the problem.
Whoopee!