In C++ how can I get the name of a text file and store it in a string?

I honestly thought that this would be something easy to find but it has not been. So I am seeking help. Thanks in advance.
1 answer 1