I'm using the function scanf but I looking for another function can get user string from the console becuse:
1- I'd like a function that when the user type ESC key it stop asking for some string input
2- I'd like a non-multile type.
for ex: "type the path where the file is located"
> [here goes the scanf() but it will take lots of '\n' on console if the user type enter key without at least a char input]
Thanks for any suggestion!