There is no method in OpenGL to draw text to screen. Rather you can use the library or create your own calls to draw text to the screen. There are two common calls within GLUT that could help you
glutBitmapString() and glutStrokeString()
Or you can even create a method or function that draws character text to screen using standard OpenGL function, or use Stencil buffer using calls to gIDrawPixels() to get the characters. For more read here.
Want to start with AWS? Come and join: AWS Online training