C reading text files
This is in C.I have done alot of reading and am having difficulty finding an easy way to do this.  I Have a text file given to me that I do not know the size and contains strings which may or may not be on multiple lines. (ie: dog cat mouse he went to the store.)  I need to read the entire file and store it somehow so I can manipulate the words one at a time.  I know I need to use fread or fgetc  or something like that.  However I am unable to read the entire file. thank you for the help.
C reading text files
===

This is in C.I have done alot of reading and am having difficulty finding an easy way to do this.  I Have a text file given to me that I do not know the size and contains strings which may or may not be on multiple lines. (ie: dog cat mouse he went to the store.)  I need to read the entire file and store it somehow so I can manipulate the words one at a time.  I know I need to use fread or fgetc  or something like that.  However I am unable to read the entire file. thank you for the help.