cin>>choice;
switch(choice)
{
case 1:
glutCreateWindow("Bresenham circile"); /* window title */
glutDisplayFunc(display1); /* display callback invoked when window opened */ myinit(); /* set attributes */
glutMainLoop(); /* enter event loop */
break;
case 2:
glutCreateWindow("Digital Differential Analyser Line"); /* window title */ glutDisplayFunc(display2); /* display callback invoked when window opened */ myinit(); /* set attributes */
glutMainLoop(); /* enter event loop */
break; case 3:
glutCreateWindow("MidBresenhamEllipse"); /* window title */
glutDisplayFunc(display3); /* display callback invoked when window opened */ myinit(); /* set attributes */
glutMainLoop(); /* enter event loop */
} default: return 0; } return 0;