getline returns whole file contentsDenis I didn't notice those changes in your code, you were indeed correct. Thanks for your help. ...
getline returns whole file contentsFound the problem, missing the brackets on the while loop so only the first item in the loop was get...
getline returns whole file contentsHi Denis unfortunately your amendment (line 15) still gives the same output. Regarding the pro...
getline returns whole file contentsHi Denis any user can open /etc/hosts so that is not the issue, however I have changed the file t...
getline returns whole file contentsHi in the code below the value of int x is always 1. This leads me to believe that getline(openf...
This user does not accept Private Messages