Will's Homepage: Programming
Here are a few short programs which I felt like uploading.I have provided the source and Win32 binaries for the C and C++ software. The RISCOS applications are only available as Zip archives. You may use these files however you like but the copyright remains mine (I might release them under GNU GPL one day).
ANSI-C
primes
A short piece of code to calculate primes numbers really fast (I think so anyway).
Source / Prettified source / Executable (Win32)
c2html
Something I wrote to kill time. It takes ANSI-C source code from stdin and prints a prettified HTML version to stdout. I used this to do the HTML versions on this page.
Source / Prettified source / Executable (Win32)
ANSI-C++
longlines
A short program to list lines in a text file which are longer than a certain length.
RISCOS
You will need RISCOS 3.1 or above to run these. In fact, I don't know if they'll even work on RISCOS 3.5.
!AmPtr
Not really a program. This little application changes the desktop pointer from the default arrow to a more friendly red one that looks a bit like the Amiga Workbench cursor. It also changes the hourglass to a stylish black and white spinning thing.
!PCalc
!PCalc is a multifunction desktop programmers' calculator for RISCOS 3.1. I wrote it years ago to learn Wimp programming.
Features include:
- scientific calculator with decimal, hexadecimal or binary output and scientific constants
- clock, stopwatch
- egg timer (countdown stopwatch) which can run any CLI command
- loading sprite files to iconsprites or toolsprites areas
- loading BASIC files to BASIC VI (if present)
- conversion between DOS format (CR,LF) text files and RISCOS format (CR)




