how to let user to input the path of a file in c++
then the program will take the path
and read data from file....
i found c_str() function
how i can use it ?
Ah yes, fstreams use c-strings to open files. Sorry, I forgot.