String in Folder Name in C++ (Cpp) : I want to name the folder according to the username given by the user. However, to do that (in the method in which I am doing), we have to enter the path of the folder including the name of the folder. I know the path, but, the name of the folder should be the username. The following is my code. Please help me! (Thanks for sharing your knowledge and time, in advance)
`Path="Core\\USERS\\";
crtfol = Path + usrnm;
Sleep(10000);
CreateFolder(crtfol);`

'usrnm' is a string for taking in  the username of the user.
'Path' is a string in which I have entered the path of the folder.
'crtfol' is also a string used to combine the path and the username.
'CreateFolder' is the fuction I am using to make folder.
In function CreateFolder, 'crtfol' is the name to be given to the folder.

**Error while compiling**: cannot convert 'std::string {aka std::basic_string<char>}' to 'const char*' for argument '1' to 'void CreateFolder(const char*)'|

Compiling done in Codeblocks.
 
Thank You!