my code is at below:

/********************************************/
#include <GL/glut.h>
#include <GL/glu.h>
#include <GL/gl.h>
#include <windows.h>

main()
{
InitializeAWindowPlease();

glClearColor(0.0, 0.0, 0.0, 0.0);
glClear(GL_COLOR_BUFFER_BIT);
glColor3f(1.0, 1.0, 1.0);
glOrtho(0.0, 1.0, 0.0, 1.0, -1.0, 1.0);
glBegin(GL_POLYGON);
glVertex3f(0.25, 0.25, 0.0);
glVertex3f(0.75, 0.25, 0.0);
glVertex3f(0.75, 0.75, 0.0);
glVertex3f(0.25, 0.75, 0.0);
glEnd();
glFlush();
UpdateTheWindowAndCheckForEvents();
}
/***********************************************/

When I build that.. there would be 4 errors:

1.
test_one.obj : error LNK2001: unresolved external symbol _UpdateTheWindowAndCheckForEvents

2.
test_one.obj : error LNK2001: unresolved external symbol _InitializeAWindowPlease

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

4.
Debug/test_one.exe : fatal error LNK1120: 3 unresolved externals

please help me...why such errors are there.....

Thanks!