2.warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
解决:根据warning提示的第3句话:use _CRT_SECURE_NO_DEPRECATE。点击 项目|属性|配置属性|C/C++|命令行|附加选项,加入【/D "_CRT_SECURE_NO_DEPRECATE" 】
参考:http://blog.sina.com.cn/s/blog_562f523f0100rezj.html