sscanf warning: 'z' is deprecated, consider using 'S' instead.
#3

That's because "z" specifier is no longer available. It states you should use "S" specifier for optional strings and reading the documentation in sscanf thread (something you should have done already), you'd see how you can use it.

Looking at your code, you don't even need an optional string as the player should give if they want interior or exterior. Use normal string specifier ("s[size_here]" specifier).
Reply


Messages In This Thread
sscanf warning: 'z' is deprecated, consider using 'S' instead. - by DandyCorleone - 01.01.2017, 12:21
Re: sscanf warning: 'z' is deprecated, consider using 'S' instead. - by AjaxM - 01.01.2017, 12:28
Re: sscanf warning: 'z' is deprecated, consider using 'S' instead. - by Konstantinos - 01.01.2017, 12:29
Re: sscanf warning: 'z' is deprecated, consider using 'S' instead. - by DandyCorleone - 01.01.2017, 12:37

Forum Jump:


Users browsing this thread: 1 Guest(s)