Hello,
I am quite experienced with C/C++ programming and I can help you with such task and file creation. I have done a similar job like, you put the complex numbers and choose the function (addition, substraction, multiplication, division) and the result is given as a phasor term. So just give me all the details and I will do my best to help you.
Best regards