pour éviter la fenetre dos:
How do I get rid of the console window in a Windows GLUT application?
With Visual C++ 6.0, go to the Project menu, Settings… dialog. Select the Link tab. In the Project options edit box, add /SUBSYSTEM:WINDOWS /ENTRY:mainCRTStartup to the end of the present text. Link options are similar for other Windows compilers.
---------------
http://www.chadenat.forez.com