Recommended Posts

First of all hello.
I have just started learning OGL and have some questions thus far. Here it goes:
The redbook has a functions init and a display. What are they both do exactly? I mean I understand from what I see that the init initializes the OGL and that display puts models on the screen but in other examples the init and display have the same code again. In other words what EXACTLY should I put in the INIT function and what in the DISPLAY?