Hi,

As some know from my previous post, I was attempting to create folders, or directories. That is no longer the problem.

What I am wondering about now is how to assign the directories dynamic names, i.e: collecting a string from the user using cin<<variable<<endl; and assigning it to a folder name.

Right now I am wanting to collect a 30 character string from the user, tell the program to create a directory like so:

mkdir("C:/Program Files/Program Name/"<<userinputstring<<"/");

It always results in an error (I would post it, but I am about to shut down, and Dev-C++ is no longer running...) every time I try to use a variable string in a location. Is there any way around this?

Thanks so much!

FlyingIsFun1217