Help for a beginner

Hello everybody. :confused:

I’d like to know how keep the windows when i run.

I work with dev-C++ and with glut on windows, and i success to compile, but when i run, the window stay only 1 seconde.

On linux, the same programm execute and stay!

Did someone understand my problem?



Remember to enter the GLUT event processing loop - call glutMainLoop() after setting up any callbacks you need.

Hello :frowning:

I think what it’s not the problem… I have witten


at the right place because it works on linux…

An other idea?



Hi !

I guess there is some kind of problem with your code, but it is difficult to answer without looking at it, if it is not to big maybe you can post it here.