码迷,mamicode.com
首页 > 编程语言 > 详细

c++编译运行遇到的问题

时间:2015-08-26 22:45:42      阅读:191      评论:0      收藏:0      [点我收藏+]

标签:

问题描述

error C4996: ‘strncpy‘: This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.

解决办法:

Under "Project -> Properties -> C/C++ -> Preprocessor -> Preprocessor Definitions" add _CRT_SECURE_NO_WARNINGS


2

c++编译运行遇到的问题

标签:

原文地址:http://my.oschina.net/woyaoxue/blog/497487

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!