Typing on the window

Hi ,there.
I want to type on the window.I know one method is glutBitMapCharater(). But I see one method in my techer’s PPT. It is gluBitMapString(T x,T y,“Hello”);Then it can show the Hello in the location(x,y). I am wondering how he make it? I am seeking an easy method just like the glutBitMapString…
Thanks.

I think that is a typo by you teacher - the function is glutBitmapString
see http://freeglut.sourceforge.net/docs/api.php

Thanks, I have changed glut.h to freeglut.h.