Turner will take you C, C++, or Java source code and spit out HTML pages that display your code with syntax colorizing. I prefer to read syntax hilighted code, mostly because I've gotten used to it in my favorite programming editor, Nedit.

The current version of turner can output either old, crufty, HTML 3.2 stuff with <FONT> tags, or newer, still crufty, HTML 4.0 stuff with Cascading Style Sheets.

You can download the tarball for turner here, and you can take a look at the output for the turner source code: parseargs.h, parseargs.c, gettoken.h, gettoken.c, and turner.c.