|
|
|
|
|
by dantle
1209 days ago
|
|
Nice article. Saw a few things I wish I'd known about. 1. %n in printf would be handy when writing CLIs dealing w/ multiple lines or precise counts of backspaces. 2. Using enums as a form of static_assert() is a great idea (triggering a div by zero compiler error). |
|
%n is for bytes, not user-perceived characters.