some c & c++ codes