View Single Post
Old 04-24-2015, 07:48 AM   #47
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by thomass View Post
The file on this zip has no line ending in it (ie it contains only 1 line of text) I think for this particular file editing software does not matter. (also pay attention to the extension of the resulting file.)

Attachment 137584
Correct.
My comment about line-endings naturally only applies to files that require them.
This file is a rare exception.
(POSIX standards **require** an end-of-line. Used to detect an incomplete line. But this is Java as NiLuJe points out. It does a formated read of a series of floating point numbers and stops when that fails (for any reason) - see post #3 of this thread. )

Last edited by knc1; 04-24-2015 at 08:07 AM.
knc1 is offline   Reply With Quote