C++: Unresolved external symbol __imp__fscanf

VS2019中遇到错误error LNK2001: unresolved external symbol __imp__fscanf

解决办法:链接legacy_stdio_definitions.lib库

参考: https://stackoverflow.com/questions/32418766/c-unresolved-external-symbol-sprintf-and-sscanf-in-visual-studio-2015

posted @ 2019-12-19 14:12  VVingerfly  阅读(459)  评论(0编辑  收藏  举报