Logo

Programming-Idioms

This language bar is your friend. Select your favorite languages!
  • Ada

Idiom #211 Create folder

Create the folder at path on the filesystem

with Ada.Directories;
Ada.Directories.Create_Directory (New_Directory => Path);
#include <filesystem>
namespace fs = std::filesystem;
fs::create_directory(path);

As of C++ 17.

New implementation...
< >
programming-idioms.org