glut binding: fortran & c++

Hi,

I am using cygwin, a big fan of fortran, and a newbie of opengl. I want to write glut subroutines using c++ and then call those subroutines in a fortran program. Could anyone give me a simple example to do this?

I currently have a c++ code written in opengl (gl; but not glut). I have tried to rewrite the code using glut but not succeeded. Thank you very much.

Kittisak