C Programming

Explore the rich collection of articles in the folowing subjects.

Subjects

Protocol packets using Data Structures

In this article, we will see the use of direct type-casting in C for converting one structure into another. A network...
thumb_up

Design your interface - with a "shim" layer!

In this post, we will see how code modularity and layered-ness can be exploited neatly to insert more functionality as...
thumb_up

Design your modules like a professional!

In this post, we are going to talk about creating modular code. We take up a simple example of an application-network...
thumb_up

Typedef your data types!

Data types are the most important part of any C/C++ program - be it embedded systems, firmware or linux. The sad part...
thumb_up

Variables in header file - what's that all about?

In this post, we're going to look at how to safely declare and manage global variables in C when we are working with...
thumb_up

Know your logs!

In this article, we are going to look at how we can implement a very simple, but powerful and elegant logging API in...
thumb_up

5 maxims for a programmer to live by

A day comes in the life of every programmer when they have to refactor someone else's code, or their own code, or fix a...
thumb_up

Doing C OOP Style: Structure members as Class Attributes

In this post, we are going to discuss a classy technique to assign values to members of a structure in C programming...
thumb_up
1