c and c++ codes