Documentation of lib commands ah10 and tc9548a

Please post the code and the full error output from compiling it. Then we can help you out.

There's no need to change the language. Just put the C++ code in your sketch. It will be compiled as C++.