updated sonar language to c++