-
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?
-
Re: input integer, float and string under GLUT
pass you keyboard function to gluKeyboardFunc()
or read this : http://www.lighthouse3d.com/opengl/glut/index.php?5
-
Re: input integer, float and string under GLUT
ok,
but that is a very low level input function,
is it possible to use high level input/output
function like scanf, printf?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules