Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Functional programming in C++. Parent comment
In your code \n must be a line separator rather than a line terminator. (Otherwise, if the last line is \n terminated, the function returns 0.)
In your code \n must be a line separator rather than a line terminator. (Otherwise, if the last line is \n terminated, the function returns 0.)