I am trying to write a function to read a specific line from a file and assign it to C++ String type.
I have opened the file using fopen and I do not know the length of the individual line of the file. Is there a library function that reads the whole line (line number specified by the user) using a delimiter? (say '\0' terminated strings)