Note: this article| mathesis
This week on the C committee mailing list we had a discussion about how C’s types are organized into different categories. At the end I came up with a diagram with that organization. It basic…| Jens Gustedt's Blog
The C23 edition of Modern C is now available for free download from And as before a dedicated page for the book may be found at where you also may find a link to download the code examples that com…| Jens Gustedt's Blog
Manning’s early access program (MEAP) for the new edition is now openat There is a special code mlgustedt2 to get 45% off of the official price. This is currently limited until Jan 31. The pr…| Jens Gustedt's Blog
As you know, computers internally work only with ones and zeros, and everything is represented in some way using these “bits.” Using M bits you can encode 2M different values. Let’s say you’re interested in encoding the signed integers …, -1, 0, 1, 2, …. To make things simple, let’s use a fixed number of bits: for example with 8 bits you can encode 28 = 256 different numbers. One of the numbers is zero, so you are left with 255 bit patterns to be divided between positive and neg...| The Mindful Programmer