Skip to content

Fixing the error C4996 #3

@Felix-Brodmann

Description

@Felix-Brodmann

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions