C4996 error

Tweet


In Visual Studio
C4996: *** was declared deprecated
This function or variable may be unsafe. Consider using *** instead.
when such error occurs

Error caused by string function or file function

If you want to change from "error" to "warning"
Choose [No] for [Configuration properties]-[C/C++]-[General]-[SDL checks]

If you want to eliminate the warning
#pragma warning(disable:4996)
add above #pragma to your sourcecode


Back