C++ 'strcpy': This function or variable may be unsafe 解决方案报错代码:strcpy(dest,src);解决方案:#include<string.h>strcpy(dest,src);改为 strcpy_s(dest,length,src);版权声明:本文为fromfire2原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。原文链接:https://blog.csdn.net/fromfire2/article/details/78202147