News for hackers. Stuff that matters.
Re:C++ still isn't cutting it by saagarjha on Sunday October 18, 2020 @05:08PM (#24821146)
You'd need it to read words, unless you're using a libc function that does the allocation for you. (Not that you actually need a full string, realloc works just fine for the code I'm writing.)
Re:C++ still isn't cutting it by tptacek on Sunday October 18, 2020 @05:30PM (#24821266)
Yeah, I just used strdup and strsep, like a C programmer. You don't need a dynamic string to count words.

:P