2019-11-22 C++17filesystem相关问题解决

1、#include  

旧版本文件,将产生错误:
#error The  header providing std::experimental::filesystem is deprecated by Microsoft \
and will be REMOVED. It is superseded by the C++17  header providing std::filesystem. \
You can define _SILENCE_EXPERIMENTAL_FILESYSTEM_DEPRECATION_WARNING to acknowledge that you have received this warning.


2、#include

修改后成功运行。

 

 

你可能感兴趣的:(C++)