c++错误
1.C4996 ‘std::copy::_Unchecked_iterators::_Deprecate’: Call to ‘std::copy’ with parameters that may be unsafe - this call relies on the caller to check that the passed values are correct. To disable this warning, use -D_SCL_SECURE_NO_WARNINGS. See documentation on how to use Visual C++ ‘Checked Iterators’
解决方法:在工程属性—>C/C++—>命令行—>其他选项 中添加:
-D_SCL_SECURE_NO_WARNINGS
c++编译错误集锦
最新推荐文章于 2023-06-05 17:36:19 发布