When I run my project in the Chinese folder,the line YAML::Node yaml = YAML::LoadFile(P);reports an error :
Exception at 0x7ff967944d8c, code: 0xe06d7363: C++ exception, flags=0x81 (first chance) in MSVCP140!std::_Xlength_error
Exception at 0x7ff967944d8c, code: 0xe06d7363: C++ exception, flags=0x81 in MSVCP140!std::_Xlength_error
From my subsequent debugging results, I found that it was probably a problem with your project or MSVC, but how should this be solved?
I used the source code recently downloaded by the master of yaml-cpp, and used visual studio 2019 for compilation.
When I run my project in the Chinese folder,the line
YAML::Node yaml = YAML::LoadFile(P);
reports an error :From my subsequent debugging results, I found that it was probably a problem with your project or MSVC, but how should this be solved?
I used the source code recently downloaded by the master of yaml-cpp, and used visual studio 2019 for compilation.