Compilation problem with glut and openGL

I have been trying to complete an assignment for a class, but I cannot get my computer, running VC++ 6.0 to compile programs running glut or openGL. I keep getting the message:

LIBCD.lib(wincrt0.obj) : error LNK2001: unresolved external symbol _WinMain@16

I have done everything that I have read here on the forum, but it still won’t work. Thanks in advance for any help.

make sure you are in console mode
,not win32 aplication