Robot arm manipulation app in c++