Hello everyone,
I am writing a simple Text Editor. At the end of the program, I want to output a *.txt file in a directory the user wants. I know that in order to create directory and subdirectories, I can use this:
SHCreateDirectory(NULL, L"D:\\test\\example");
I want the user to create directories himself. Such as:
main()
{
string link;
std::cin>>link;
}
and user can type: D:\\test\\example
I wonder how I can connect the variable link with the command SHCreateDirectory. Or can I use another command ?