Glut in Console

I’m using Glut for Opengl. I tried compiling it as a windows application, but it won’t go. I try compiling it as a console and it works, but a console appears everytime I run the program. Can anyone tell me how to properly compile programs with glut? I’m using MV-C++6 Intro.

Hi !

What do you mean with “It doesn’t work” ? do you get linking errors or what ?

The most common problem is that if you link it as a windows application you normally need to add a WinMain() instead of main() function to handle to startup.