News for hackers. Stuff that matters.
Re:Show HN: Add a command-line interface to any C++ program by jb1991 on Saturday October 16, 2021 @06:55AM (#28886987)
Why is the example flushing the output buffer twice with endl? This is naive, and a simple new line is probably intended for at least one of those flushes.
Re:Show HN: Add a command-line interface to any C++ program by eps on Saturday October 16, 2021 @07:14AM (#28887066)
The only comment that you think is worthy making after looking at OP's project is about adding a blank line in front of a prompt, in an example? Show some rudimentary respect towards the work of others by not nitpicking on trivialities.
Re:Show HN: Add a command-line interface to any C++ program by jkrubin on Saturday October 16, 2021 @07:04AM (#28887025)
I think it’s pretty cool regardless. Don’t be a weenie.