use ads in c++