c/c++ codes