I'm looking for function that open window explorer and get file the user selected. I knew how to open window explorer to this my question, but I was asking the wrong question. I want to enable read to the user selects a file.
While trying to search, I found OpenFileDialog()
. But this function looks like need GUI. Am I right? (My program runs only console)
How can I open windows explorer on the console and get the file from the user?
I'm a beginner of C. So my question may seem ridiculously easy. But if you give me the answer I really appreciate it. Thanks :)