Kate’s Small Programs

Small programs, mostly written in C. These are single files; usually make filename (without the .c extension) is enough to compile them. You might need a library or two; see the source code.

rawdump.c Convert an arbitary binary file into an array suitable for including as a C header. xxd -i does a similar job.
primes.bas In response to a microoptimised C program using a poor algorithim.
life.c John Conway's Game of Life, written in C99 for POSIX using Curses. It can read files written in the widely-used RLE format.
caesar.c A straightforward implementation of Caesar's cipher. Somebody in ##c wrote a Qt frontend to this.
rpn.c A reverse polish notation calculator. Arguments are consumed from the command line.
rpn-f.c A reverse polish notation calculator, functional style.

$Id: index.xhtml 532 2010-09-26 19:00:26Z kate $