Read line by line .......

I have a file with different lines. From this file, I would like to read line by line. Is there a finished procedure such as “getline”?

Thanks !

Marcus