N
none
I have an app where I need to read input from the user:
std::string setting;
std::cout << "Specify Path to setting :";
std::cin >> setting;
When I run this code I can manually type the path to the relevant file. But I cannot use eg. Tab to
auto-complete the current path I am typing.
How do I enable tab auto-completion when using std::cin ?
std::string setting;
std::cout << "Specify Path to setting :";
std::cin >> setting;
When I run this code I can manually type the path to the relevant file. But I cannot use eg. Tab to
auto-complete the current path I am typing.
How do I enable tab auto-completion when using std::cin ?