title: how to scan characters in a file until newline and store it in a dynamic array?
body: <p>For example, the program grabs the line: <code>Hello World!</code> and assigns the string to a dynamic array.
  The length of each line is unknown and I want compatibility for all sizes.</p>