解决-To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.

转载自:https://www.cnblogs.com/lhuan/p/5989806.html

在预编译头文件stdafx.h里(注意:一定要在没有include任何头文件之前)定义下面的宏:

       #define _CRT_SECURE_NO_DEPRECATE


posted @ 2018-05-26 23:41  xzhws  阅读(339)  评论(0编辑  收藏  举报