Why static declarations are confusing in C

2019-08-22 c

The static variable in C is unnecessarily confusing because it is used for both the memory management model and for linkage. Since these two concerns ... Read More

Implementing FIR Filters in C

2019-08-19 c telecommunication signal-processing

Implementing FIR filters in C is much easier if we make use of the static variables declared in our functions. In this blog post we will create some ... Read More

pthread barrier example

2019-08-12 c thread concurrent

A Barrier in computing is a synchronization method where a group of threads cannot proceed until a condition allows the blocked threads to proceed. In ... Read More

Example FFT in C

2019-08-08 c signal-processing

In this post we’ll provide the simplest possible Fast Fourier Transform (FFT) example in C. After understanding this example it can be adapted ... Read More

A Useful Linked List

2019-07-26 c

In this post we will create a useful Linked List in the C Programming Language. This is opposed to all the useless linked lists that I’ve seen ... Read More

Adding SQLite to a C Project

2019-07-06 c sqlite

Let’s add SQLite to your C project. It’s easy and straightforward. We’ll use the recommended way by adding the so-called ... Read More

Passing Datagrams Between Python and C

2019-06-18 c networking sockets python

Let’s discuss how to pass data from a C program to a Python Script and vice-versa. This subject involves IPC - Inter-Process Communications. In ... Read More

C Double Pointers

2019-06-17 c

How are double pointers used in C? In this blog post we talk about Double Pointers in C. Also, known as a pointer to a pointer. We go over 3 use cases ... Read More

Simple SQLite C API Example

2019-02-02 c database sqlite

When getting started on the SQLite C API they recommend 2 basic ways: sqlite3_exec() and sqlite3_get_table() both are convenience wrappers around the ... Read More

Simple Convolution in C

2018-10-17 c convolution signal processing

Updated April 21, 2020 In this blog post we’ll create a simple 1D convolution in C. We’ll show the classic example of convolving two ... Read More