no no no. It only returns enough characters to fill the array. Then on the next read it fills the array again from where it left off.
So far I like the idea of reading into a character array.
I've done that, HOWEVER, in order to initialize that array I have to give it an initial size.
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koophttps://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton