error message

I went on a camp over summer and i wrote some kool programs that i wanted to access in windows C++ express with OpenGL, so when i opened the code (a .cpp file) and copy it into the current window, i press build and i get this message:

C:\Program Files\Microsoft Visual Studio 8\VC\include\stdlib.h(406) : error C2381: ‘exit’ : redefinition; __declspec(noreturn) differs
1> C:\Program Files\Microsoft Visual Studio 8\VC\include\GL/glut.h(146) : see declaration of ‘exit’

and i have no idea what it means and what to do, i would really like to build upon and improve this program,

Also the program cant find windows.h i have included it(#inclue <windows.h>) and it still wont work, (this is on a different program)

thanks for your help

darkarden

What did you write the programs in originally? On a Linux system? What kind of application did you put it into in Visual Studio? If you wanna use code from a Linux system, you will need to create an empty Win32 Console app.