Can anyone give the full source code for drawing a sphere with OPENGL?
gluSphere(quadric,radius,slices,stacks);
Source
You need to create a quadrics object with gluNewQuadric.
gluNewQuadric