Help appreciated, storing contents of a file
I have an input file that contains the names of books, the file is entirely strings, some lines with spaces. I'm using a while !EOF loop and it works fine, inside the loop I'm using
fgets to read the line/string into a buffer, from there I need to store the string in the buffer into a new string. I though sscanf would work untill it became obvious that whitespace was
an issue. Can anyone throw out some tips or point me in the right direction for this? (Not looking for code, just a push in the right direction).