in reply to Re^2: Reading a huge input line in parts (Handles multi-digit numbers!)
in thread Reading a huge input line in parts
Could this not be simplified?
And what happens when your buffer size splits a multi-digit number in two?
Ie. Run your code against this input:
123 456 789 1
And it produces: 123 456 78 9 1
And doesn't notice that the last number is supposed to be 0.
|
|---|