Help--

Im trying to develop a gaze tracking machine. So far, the computer stuff is ok. But I am having troubles about how to connect the comuputer program to the motors. I am not an expert in computer programming so I have no clue how to do this. (most of the programming was done by my friend.) someone please help me. (Im working with a c++) by the way, I am a HS student