filesystem

C++

shaozkshaozk cpp/filesystem.cpp · 12 行 · 更新于 2026-10-28

#include <iostream>
#include <filesystem>

namespace fs = std::filesystem;

int main() {
  const std::string filepath = "filesystem.cpp";
  fs::path path(filepath);
  std::cout << path << std::endl;

  return 0;
}

评论