string login;
cout << "Enter login: ";
cin >> login;
CreateDirectory(L"D:\\Test\\" + login.c_str(), NULL);
#include <iostream>
#include <filesystem>
int main(int argc, char** argv)
{
std::cout << "Enter your login: " << std::endl;
std::string login;
std::getline(std::cin, login);
std::filesystem::create_directory("D:/Test/" + login);
return 0;
}