Whenever I use the clrscr() function given in the FAQ and team it up with kbhit(), clrscr() holds information so the key is always being hit. Can I clear the console input buffer or something?
Printable View
Whenever I use the clrscr() function given in the FAQ and team it up with kbhit(), clrscr() holds information so the key is always being hit. Can I clear the console input buffer or something?
Im amazed u got this into the correct forum, lolz. U need to use windows API. Check Out console functions in MSDN. Also you may want to consider just deleting 'squares' you wrote to, that way its faster, and looks less 'corney'.
SPH