is it possible to do automation in c++