It&#x27;s a bit sad that the formatting API hasn&#x27;t improved in C over the years. Take this code, for example:<p><pre><code>  printf(&quot;Local number: %&quot; PRIdPTR &quot;\n\n&quot;, someIntPtr);
</code></pre>
which is quite unreadable to say the least. To address this issue I even wrote a small library (<a href="https:&#x2F;&#x2F;github.com&#x2F;cppformat&#x2F;cppformat" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;cppformat&#x2F;cppformat</a>) that allows you to write something like this instead:<p><pre><code>  print(&quot;Local number: {}\n\n&quot;, someIntPtr);
</code></pre>
It is written in C++ rather than C, because the latter doesn&#x27;t have facilities (at least overloading is necessary) to implement such library.