Reading a whole file at once
Two methods to load a data file into memory. Use mmap on Linux sysetms.
Old-school programming with Turbo C
Explore retroprogramming on FreeDOS with this popular freeware IDE.
Calculate pi by counting pixels
This is a very simple way to measure pi, but it was a fun exercise and I wanted to share it.
Using AI to translate code
I was impressed that AI did so well translating from an old language like FORTRAN 77 into a more modern language like C.
Cautions when using AI for coding
While AI agents can help streamline development, keep in mind these cautions when using AI for coding.
Draw a Cylon eye in DOS
Have fun by writing a program to simulate a Cylon’s sweeping red eye
Using enumerations in C
Using enumerations with enum makes it easy to store values in a program, yet keep the code easy to read.
Using bit fields and bit masks in C
Using bit fields and bit masks is a common method to combine data without using more complex structures.
Enjoy the holidays with this ASCII fireplace
Enjoy the holidays by writing a ‘fire’ program in ASCII text.
What I learned by teaching others
Sharing knowledge with others is often a great way to refresh and update your own expertise.
5 ways to learn about programming
Read these popular articles from the last year to get started on your programming journey.
Remove Background from Photos for Holiday Card Creation with Python
You can use open-source tools to produce holiday cards this year. Suppose you have a great photo of your family or grandchildren, but it was...
5 ways to get the most out of Bash
With a little Bash scripting, you can automate tasks on your Linux system. Learn more with these 5 favorite Bash articles.
Print a spooky greeting in ASCII art
Generate colorful ASCII art from a C program using FreeDOS.
Portable programming practices
Sometimes it’s easier to define your API to hide the platform-specific code
Writing portable C programs
Jim shares this follow-up to an earlier article about programming across platforms.