used c++ extension of c libraries