最佳答案
使用 CentOs 7.1,GCC 版本6.1.0(GCC) 我收到这个错误:
fatal error: filesystem: No such file or directory
在这条线上
#include <filesystem>
编译
g++ main.cpp -o main -std=c++17
问题出在哪里?