These are my blogs

and also my life

Listing files in a Directory using C

2020-02-24 c

Use the glibc scandir function from <dirent.h> to list all the files in a directory using the C programming language. The scandir function ... Read More

Regular Expressions in C

2020-02-01 c

In this blog post we will construe some simple examples of regular expressions in C, also known as a regex. We will use the popular libraries PCRE and ... Read More

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 a simple Fast Fourier Transform (FFT) example in C where we will sacrifice performance and external code dependencies ... 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 SQLite.org 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, how to pass data between a Python Script and C program. As ... 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