This is the main body of an example problem i got out of an opengl book:
int main (int argc, char** argv)
glutInit(&argc, argv); glutInitDisplayMode(GLUT_DOUBLE | GLUT_RGB); glutInitWindowSize(250, 250); glutInitWindowPosition(100, 100); glutCreateWindow(argv); init(); glutDisplayFunc(display); glutReshapeFunc(reshape); glutMouseFunc(mouse); glutMainLoop(); return 0;
I was just wondering if anyone could tell me the function of
(int argc, char** argv) being passed into the main function?