Little trouble with my code

Hi there,

I am working on a C++ OpenGL program that requires drawing a display function for a circle with a number of segments that can fill the entire display. I also have to instantiate the circle and add in five specified variables in the class definition. I would be grateful if someone could show me some code along the lines of what is stated above so i can understand what is going on. I have tried it myself but i cant get it to work.
I’m new to C++ and i would appreciate any help i can get.
Thank you.

Post your code and explain where you run into trouble.