Below you will find pages that utilize the taxonomy term āCā
Posts
Making a Floyd's Triangle (in C)
Some of the most intriguing bits of math can come from the simplest little patterns. Take for instance the Floyd’s Triangle.
Posts
Reading stdout output from a child process
I had to deal with a situation in the C language which required reading the stdout from the child process, which was running exec. Since running exec means that the command effectively takes over the process, I needed to make sure whatever it outputted was going back to the parent (as well as still getting the exit value of the exec’d process).