I am trying to write a program that reads one line from a file and stores it into a char array. Since I only want to read one line, I want it to stop reading at the newline.