This function or variable may be unsafe(vs 错误)
This function or variable may be unsafe
error C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details
1.属性C++里的预编译器里加上_CRT_SECURE_NO_WARNINGS
2.若是还不行,注意自己的编译器,选中X86或者x64的都改一下