In our first part on pointers, we covered the basics and common pitfalls of pointers in C. If we had to break it down into one sentence, the main principle of pointers is that they are simply data ...
Separating interface from implementation has many practical benefits. Here’s a simple way to do just that, in ANSI-standard C code. How do you organize medium-sized or larger C programs? Few C ...
Take advantage of anonymous types in C# to create and instantiate types that have read-only properties without having to declare the type beforehand An anonymous type is a type that doesn’t have a ...
One of the key benefits of the C language, which is the reason it is so popular for embedded applications, is that it is a high-level, structured programming language, but has low-level capabilities.