Updated files with c++ code