I'm building a program for school, and it's supposed to have a menu. You must be able to navigate the menu using the arrow keys. I decided to use GetAsyncKeyState() to accomplish this. The menu works fine. However, when I try to use cin later on, it displays everything previously entered by the user. Is there a way to clear everything in cin?