How to implement this without Glut

For example, I used glutIdleFunc(), sleep() and glFlush() to print some letters one by one on the graphics. I also used single buffer to make it work.
If I can not use glut, how can it work at the same way? Any simple sample codes? Nehe has too much codes…

Thanks!

Exactly the way NeHe does. Of course you can cut down error checking & use full screen only app so eliminating 1/3 of all code, but the basement stays. You can chenge kb routine by using getKeyState.

Just to emphasise the point that has been made twice now (in each of your posts) - go to nehe and look at the code/tutorials there.

And stop posting nube questions on the Advanced forum.

^what he said^