其他问题:
1.报错:namespace "std" 没有成员 "optional"
解决:将项目属性中的C++语言标准从C++14改为C++17
2.报错: '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.
解决:添加:#pragma warning