Monthly Archives: June 2017

Zeller’s Congruence – Calculating the Day of the Week

Today I’ll write an implementation in C of Zeller’s Congruence, a simple and elegant little formula to carry out the seemingly complex task of calculating the day of the week (Monday, Tuesday etc.) from a date.

Posted in Uncategorized | Leave a comment

Writing an SVG Library

In this post I will develop a simple C library to create and save an SVG (Scalable Vector Graphics) file, complete with a few examples of its use.
Posted in Uncategorized | 1 Comment

Welcome to Code in C

Welcome to Code in C. This site will present useful, informative and interesting bits of C code, and give visitors the opportunity to comment, improve and expand on them.

Posted in Uncategorized | Leave a comment