How do I clear the cin buffer in C++?
cin.get() seems to flush it automatically oddly enough (probably not preferred though, since this is confusing and probably temperamental).
cin.get()