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?
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?
"If you tell the truth, you don't have to remember anything"
-Mark Twain
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