SyntaxFix
Write A Post
Hire A Developer
Questions
getline(fin, buffer, '\n') where fin is opened file(ifstream object) and buffer is of string/char type where you want to copy line.
getline(fin, buffer, '\n')
fin
buffer
string/char