PDA

View Full Version : input integer, float and string under GLUT



blairon
12-10-2005, 04:39 AM
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?

Stroma
12-31-2005, 06:34 AM
pass you keyboard function to gluKeyboardFunc()
or read this : http://www.lighthouse3d.com/opengl/glut/index.php?5

blairon
01-04-2006, 04:13 AM
ok,
but that is a very low level input function,
is it possible to use high level input/output
function like scanf, printf?