input integer, float and string under GLUT

Hello, I am a beginner.
I use Open Watcom and GLUT.
How is it possible to input thing like integer, float or character string with the keyboard during the GlutMainLoop?

pass you keyboard function to gluKeyboardFunc()
or read this :

but that is a very low level input function,
is it possible to use high level input/output
function like scanf, printf?