I saw you used 'getch()' after showing the directions, which is of course fine. But after that's been done, the same issue occurs if you usen cin before cin.get(). That's the point of the GetKey()...
Type: Posts; User: harryP
I saw you used 'getch()' after showing the directions, which is of course fine. But after that's been done, the same issue occurs if you usen cin before cin.get(). That's the point of the GetKey()...
I don't know about your multiple .cpp files problem, but this is actually what the GetKey() function looks like:
// gets a key
int GetKey() // created by Red_Baron who got help with it from...
Perhaps I'm wrong, but the way I do it is with getch(). Because it takes the ASCII value of the key pressed, which is what is defined in red_baron's code. In my game, I had to do that, too. cin...