Algorithms coded in CC++