How to create folder with C++? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to create folder with C++?

How to create folder with C++?

25th Oct 2020, 5:11 PM
Dmitrii
Dmitrii - avatar
4 Answers
+ 6
You can use the filesystem library from C++17 to create a directory. It implements the create_directory() function for this purpose: https://en.cppreference.com/w/cpp/filesystem/create_directory
25th Oct 2020, 7:20 PM
Shadow
Shadow - avatar
+ 2
system(mkdir "The Folder's Name");
26th Oct 2020, 4:53 AM
Soheil
Soheil - avatar
0
What do you mean?
25th Oct 2020, 5:40 PM
Ams
Ams - avatar
0
I want to create a folder using C ++ language
25th Oct 2020, 5:43 PM
Dmitrii
Dmitrii - avatar