This is because Microsoft considers the strcpy() function unsafe.
Solution: add at the beginning of the code
#define _CRT_SECURE_NO_WARNINGS
You can use it.
Read More:
- How to Solve VS2019 Re-generate Error
- How to Solve using stm32f4 to drive PS2 error
- How to Solve Hdsc32 MDK compile error: #29 & #223-D
- How to Solve Microsoft.CppCommon.targets(279,5): error MSB3073
- How to Solve Chrome Error: net::ERR_FAILED
- How to Solve Vue Error: EACCES: permission denied
- How to Solve OpenCV CVUI Error: LINK2019
- How to Solve MVC Error: Build failed.
- How to Solve platformio adding library error
- R Language: How to Solve featureplot function Error
- How to Solve TypeError: type numpy.ndarray doesn‘t define __round__ method
- How to Solve jQuery error: Uncaught ReferenceError: $ is not defined
- Android 10: How to Solve Systemui Error
- How to Solve Error: avoided redundant navigation to current location: “index/user”
- How to Solve Node GYP Rebuild Error
- How to Solve Jquery 1.9 $.browser Error
- How to Solve UW Microcontroller KEIL _WEAK Error
- How to Solve Qualcomm QFIL9008 port brush error
- How to Solve TypeError: type numpy.ndarray doesn’t define __round__ method
- How to Solve cocos2dx msb3073 Error