4 ms·
One of the odd inconsistencies that I've never found a good answer to is why puts writes a string and a newline, but fputs doesn't write a newline. Likewise, an
by userbinator 6y ago
One of the odd inconsistencies that I've never found a good answer to is why puts writes a string and a newline, but fputs doesn't write a newline. Likewise, and more problematic, is gets vs fgets --- the latter has a buffer length parameter, while the former doesn't and thus always leave the possibility of overflow. On the other hand, fprintf and printf, fscanf and scanf are consistent.
- glouwbug 6y agoNo one is perfect
- cogburnd02 6y agoExcept for Bruce Schneier. https://www.schneierfacts.com/ https://www.schneierfacts.com/
- blackrock 6y agoAnd Chuck Norris.