A blog post I've been meaning to write for nearly 20 years: simple Templating in C.
I talk about how to create a simple C++ style template, but using only C code and C pre-processor macros.
Nothing groundbreaking, but a fun exercise that I found helpful in understanding templates more generally.
https://www.flypig.co.uk/blog?&list_id=1209&list=blog
[#]C #programming #template #C++ #preprocessor #macro
=> More informations about this toot | View the thread | More toots from flypig@mastodon.social
=> View c tag | View programming tag | View template tag | View preprocessor tag | View macro tag This content has been proxied by September (3851b).Proxy Information
text/gemini