报错:
error LNK2001: unresolved external symbol ___security_cookie
error LNK2001: unresolved external symbol ___security_cookie
error LNK2001: unresolved external symbol ___security_cookie
error LNK2001: unresolved external symbol @__security_check_cookie@4
error LNK2001: unresolved external symbol @__security_check_cookie@4
error LNK2001: unresolved external symbol @__security_check_cookie@4
error LNK2001: unresolved external symbol __ftol2
解决方法:
1)选择“项目”-》“属性”-》“C/C++”-》“代码生成”-》“缓冲区安全检查”,设为“否”
2)选择“项目”-》“属性”-》“链接器”-》“输入”-》“附加依赖项”,增加”bufferoverflowU.lib”