Camstudio-clone is a project mainly written in C and C++, it's free.
git snapshot of camstudio hg repo ( http://sourceforge.net/scm/?type=hg&group_id=131922 )
404: Not Found