I have read that you can read a line of text from a text file using getline() when using fstream for file processing. How do you do that?
I have a file named accounts.txt. And in that I have-> name, age, balance I need to read the line balance?
Thank you.
NOT every line, The line which has the value of balance