I named the file ,I wanted opened, a_file just like the example I found so I wouldnt confuse myself. I've tried compiling it and it says that getline is not a member of fstream. (I could have told it that )
how can I get the following code changed so that I can read a line of text from a file and not get an error.
thanks for any help.