Get current dir

    0

    0

    Giovanny Gongora

    Codiga's C++ Recipes

    Get the current directory

    #include <filesystem>
    #include <iostream>
    
    std::filesystem::path cwd = std::filesystem::current_path();
    
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Explore
    • Cookbooks
    • Playground
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.