编程语言
首页 > 编程语言> > C++ error C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_

C++ error C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_

作者:互联网

编译报错:error C4996: ‘strcpy’: This function or variable may be unsafe. Consider using strcpy_s instead.
解决方案:#pragma warning(disable:4996)
在这里插入图片描述

标签:function,Consider,may,C4996,strcpy,instead
来源: https://blog.csdn.net/zy47675676/article/details/87904017