starting moving to c++ from c.