<story><title>Building and Linking Libraries in C</title><url>https://www.cs.swarthmore.edu/~newhall/unixhelp/howto_C_libraries.html</url></story><parent_chain><item><author>saticmotion</author><text>Increasingly popular are the &amp;quot;single header libraries&amp;quot;, which were popularised by Sean Barrett[0]. It&amp;#x27;s as simple as downloading the header, putting it somewhere in your tree and #including it where you need it. It&amp;#x27;s especially useful for redistributing libraries, but I&amp;#x27;ve also found it useful to create these in my own projects.&lt;p&gt;[0]&lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;github.com&amp;#x2F;nothings&amp;#x2F;stb&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;github.com&amp;#x2F;nothings&amp;#x2F;stb&lt;/a&gt;</text></item></parent_chain><comment><author>naner</author><text>Is having large amounts of code in headers common in real world C code (aside from stb)? Seems like it would be a nightmare to chase down issues, though maybe compiler error messages have gotten smarter since I&amp;#x27;ve last dealt with C.</text></comment>
<story><title>Building and Linking Libraries in C</title><url>https://www.cs.swarthmore.edu/~newhall/unixhelp/howto_C_libraries.html</url></story><parent_chain><item><author>saticmotion</author><text>Increasingly popular are the &amp;quot;single header libraries&amp;quot;, which were popularised by Sean Barrett[0]. It&amp;#x27;s as simple as downloading the header, putting it somewhere in your tree and #including it where you need it. It&amp;#x27;s especially useful for redistributing libraries, but I&amp;#x27;ve also found it useful to create these in my own projects.&lt;p&gt;[0]&lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;github.com&amp;#x2F;nothings&amp;#x2F;stb&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;github.com&amp;#x2F;nothings&amp;#x2F;stb&lt;/a&gt;</text></item></parent_chain><comment><author>chj</author><text>truetype font rendering: stb_truetype.h: LOC=3287&lt;p&gt;Wow. I am speechless. Going to dive in another day.</text></comment>