Hello i am a C programmer that is currently in between my freshman and sophomore year of college. I am attempting to teach myself C++ over the summer. I was just wondering how i can use the #include<fstream> statement to open a file name as a string variable, so that the user can input the name of the file. I don't need you to show me any code, more just a flat out explanation of how the <fstream> works and how i can implement it for my practice program.
Thank you in advance, seeing as you managed to put enough time aside to read this far.
Just a heads up im not going to check for a reply until the morning i got a lot of material in today and am exhausted.