NBODY6 is a project mainly written in FORTRAN and C, it's free.
Sverre Aarseth's Direct N-body code project