C ++ Codes of Algorithms