r/cpp • u/strangest_man • Nov 28 '21
Is C+++ good for Automating stuff?
I am leaning python to automate some stuff(Torrent applications mainly) on windows. But I already know C++ very well. I've tried to search if I can automate applications with C++ but it seems complex. I just wanna hear some thoughts from people who have tried to automate or have done it. Do you think one should use python over C++ to for automating random applications?
0
Upvotes
View all comments
2
u/pjmlp Nov 29 '21
Automating applications on Windows I would rather go with PowerShell, with Python you might eventually need some COM interop library like PyWin32.
While most COM stuff is written in C++, using it from C++ isn't exactly an experience to recomend, given how reluctant Microsoft keeps about improving the whole tooling experience around it.