2014年10月23日

vs2012解决scanf,printf编译出错的问题

摘要: 在VS 2012 中编译 C 语言项目,如果使用了 scanf 函数,编译时便会提示如下错误: error C4996: 'scanf': This function or variable may be unsafe. Consider using scanf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 阅读全文

posted @ 2014-10-23 17:20 sunseine 阅读(2086) 评论(0) 推荐(0) 编辑

导航