Monthly Archives: September 2011
My first ever C program!
Well, the first one that wasn’t an exercise from Kernighan and Ritchie, anyway. I have made an implementation of the Sieve of Erastothenes, which is a way of finding prime numbers. (Wikipedia has a good explanation, and an animation!) I … Continue reading
Posted in Geeking
Tagged arrays, C, command line, Erastothenes, K&R, Kernighan and Ritchie, math, maths, prime numbers, programming, Sieve of Erastothenes
Leave a comment