I'm doing a program and one of its uses is to import data via file. My problem is the following:
The user is "dumb", therefore i only want him to introduce the name of the file he wants to import.
How can I using only the name find the file? Is there any function that does the reverse of PathFindFileName()? Instead of giving me the name of the file using the path, it gives me path introducing the name?
If you have a simpler answer or solution then this, any help will be useful.
PS: the user can only use the console to introduce or see Data, no GUI.