compiling errors

Hi, I hope someone can help me. When compling my program in visual C++, it keeps coming up with these 3 errors:

unresolved external symbol ___glutInitWithExit@12
unresolved external symbol ___glutCreateWindowWithExit@8
unresolved external symbol ___glutCreateMenuWithExit@8

I have no idea how to fix it please anyone help.

Thanks heaps.

Those WithExit functions can be a mess sometimes. Put a #define GLUT_DISABLE_ATEXIT_HACK before you include glut.h.

Thankyou very much Bob, greatly appreciated it worked. Your Legend.