in which, fl_file_choser is a function which returns char*. The functions does its job well, but what happens is only the first letter of the text returned by the function is stored in newfile.
Does anyone know what I am doing wrong? It would be a great help to me.
Thanks a lot for your care. I'm using FLTK to design an interface, and when I passed the same function to a button instead of a menu, it worked!! So, I think the problem should be from the way I pass the function.