2011-robot-code is a project mainly written in C++ and C, it's free.
FRC 2011 robot code
FRC team 2517 robotics code for the 2011 compitition