Can anyone tell me how to open a browse window in allegro 5 in which the user will choose the file , and the program will use that file as an input ?
Allegro 5 has this kind of file dialog functionality.
The first link has an example of a file chooser.