摘要: 在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.原因是Visual C++ 2012 使用了更加安全的 run-time library routines 。新的Security CRT 阅读全文
posted @ 2013-07-30 13:59 飞鸟_Asuka 阅读(739) 评论(0) 推荐(0) 编辑