unresolved external symbol __imp___iob_func

在stdafx.cpp中加入下面代码

#if _MSC_VER>=1900

#include "stdio.h" 
_ACRTIMP_ALT FILE* __cdecl __acrt_iob_func(unsigned);
#ifdef __cplusplus 
extern "C"
#endif 
FILE* __cdecl __iob_func(unsigned i) {
return __acrt_iob_func(i);
}
#endif /* _MSC_VER>=1900 */

猜你喜欢

转载自blog.csdn.net/sukhoi27smk/article/details/79875946
今日推荐