I've search the other threads and although I couldn't find or haven't yet found the specific answer it appears that the getline function could be used to read one whole line of a text file.
Could/would someone please explain how to use getline (instead of scanf because it stops at the first white space when using "%s" format specifier) to read in one line of string text from a text file.
thanks in advance