Hi, I have a string which stores the name of the file the user has inputted, but I have no clue how to input this into the opening of that file!
I thought that fp=fopen("%s", filename, "r"); would work, but it obviosuly is incorrect as I get an error.
How can I get the string stored in filename into the filename area of the opening code?