I wonder how it is possible to create a "Folder".
I know how to create files like this. How could this be possible with ofstream.
I am not sure if I find any members to ofstream that could be associated with "Folders" ?

ofstream OutFile1;
OutFile1.open("C:\\File1.txt");

OutFile1;

I found out this solution.

System::IO::Directory::CreateDirectory("C:\\Folder1");
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.