fscanf stops at space

C
fgets(characterArrayToReadTo, maxCharactersToRead, filePointer);
Source

Also in C: