Using enumerations with enum makes it easy to store values in a program, yet keep the code...
Programming
Using bit fields and bit masks is a common method to combine data without using more complex...
Enjoy the holidays by writing a 'fire' program in ASCII text.
Sharing knowledge with others is often a great way to refresh and update your own expertise.
Read these popular articles from the last year to get started on your programming journey.
You can use open-source tools to produce holiday cards this year. Suppose you have a great photo...
Generate colorful ASCII art from a C program using FreeDOS.
Sometimes it's easier to define your API to hide the platform-specific code
Jim shares this follow-up to an earlier article about programming across platforms.
Using these C compiler preprocessor directives to detect the operating system can make it easier to support...
Use the flexibility of ncurses to create a guess-the-number game on Linux.
1 When programs like vi first came along, terminals had a predefined size: usually 80 columns and...
Let the kernel generate random numbers for you using 'getrandom.'
You can create your own programs that use a text user interface to control the screen.
The “Guess the number” game is a fun way to learn a new programming language.
Explore classic programming in FORTRAN 77 with this sample program.