C++ 17 新特性解析 C++ 2022-11-20 本文总共 239 字 · 阅读全文大约需要 1 分钟 1. #include <filesystem> std::cout << "Current working directory: " << std::filesystem::current_path() << '\n'; // 获取当前文件路径 std::cout << "Current working directory: " << std::filesystem::exists(read.md) << '\n'; //判断文件是否存在 Prev Next