- In codeblocks, go to Settings->Compiler and enable c++0x.
- Input file can be read from bin/Debug/ folder.
- The project can be run by opening the exe file in bin/Debug folder.
https://www.opengl.org/archives/resources/code/samples/glut_examples/examples/glpuzzle.c http://www.codemiles.com/c-opengl-examples/simple-animation-t7302.html https://www.opengl.org/discussion_boards/showthread.php/168717-I-dont-understand-what-glutPostRedisplay()-does