In previous versions of Visual Studio using functions like _sleep or strncpy just outputs a warning. In the latest version, it\'s suddenly an error:
enter at the beginning of the program:
#pragma warning(disable : 4996)
and that's it.