写博原因:这几天由于小学期的缘故,接触到了好多C代码,在VS2013中编译的时候,遇到了如下问题: 错误 1 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. c:\users\revenge\d…
SAL: the Microsoft Source Code Annotation Language. SAL: the Microsoft Source Code Annotation Language. 微软代码注解语言.你可以用sal.h中的宏定义来注释函数的参数和返回值来描述他们的行为. 曾经在Java中使用过注解,现在C++中也有注解了. sal.h - markers for documenting the semantics of APIs sal.h provides a se…