changed libIntegra from c to c++