cpp code initial commit