Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing the error C4996 #3

Open
1 task
Felix-Brodmann opened this issue Jan 25, 2022 · 0 comments
Open
1 task

Fixing the error C4996 #3

Felix-Brodmann opened this issue Jan 25, 2022 · 0 comments

Comments

@Felix-Brodmann
Copy link

When you compile the "car game.cpp" code, you will get the error:

"C4996: The POSIX name for this item is deprecated"

multiple times

You get it for the getch() and kbhit() functions!

  • changing the functions to _getch() and _kbhit() for the wanted results
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant