Printing text

Take a look at the following image:

Look at the text at the top of the screenshot(where it says FPS, ping and time left).

How can we get OpenGL print text like this?

http://nehe.gamedev.net/

Look at lessons 13, 14, 15, 17

The FTGL Library can be used to good effect.