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.
Programming across platforms
Using these C compiler preprocessor directives to detect the operating system can make it easier to support multiple platforms at once.
Write a guessing game in ncurses
Use the flexibility of ncurses to create a guess-the-number game on Linux.
Terminal size and ncurses
When programs like vi first came along, terminals had a predefined size: usually 80 columns and 24 lines (actually 25 lines, but the last line...
Random numbers from the Linux kernel
Let the kernel generate random numbers for you using ‘getrandom.’
A gentle introduction to ncurses
You can create your own programs that use a text user interface to control the screen.
Heading to the Beach
Tomorrow, Saturday as I write this, we’ll be heading to Atlantic Beach, our current favorite. By then time you read it, we’ll be there enjoying the amazing views including the one in the picture above. We do this every year.
To make my computing life as seamless as possible, I take my laptop. I always sync my home directory from my primary workstation to my laptop, named Voyager3 or vgr3 for short.
Learn C by writing a number guessing game
The “Guess the number” game is a fun way to learn a new programming language.
Guess the number in FORTRAN 77
Explore classic programming in FORTRAN 77 with this sample program.
A look back: FORTRAN 77
Take a step back in time to a time when programs were punched on cards.
Converting WordStar files
Explore how this popular word processor stored data, so you can convert your old files.
How to do fast, repeatable Linux installations #2 — Bash scripts + RPM
In Episode 1, How to do fast, repeatable Linux installations #1 -- Bash scripts, I discussed how I used a Bash script after performing a...
How to do fast, repeatable Linux installations #1 — Bash scripts
Image by: Opensource.com Some of my articles and an entire book have been about The Linux Philosophy For SysAdmins and its impact on the daily...
5 common C programming bugs (and how to avoid them)
Add a little extra code to your next program to avoid these common C programming mistakes.