You could change your C++ program to a subroutine, and call it from Maxima.
Alexey Afanasyev wrote:
> Hi everyone,
>
> I am a newbie in Maxima. I am writing a program in C++ and wish to use
> Maxima in it. How can I interoperate with Maxima?
>
> I have found that one of the possible ways is using sockets. Is this the
> only way? Is there any documentation on the topic?
>
> Thanks.
>
> Best regards,
> Alexey
>
> _______________________________________________
> Maxima mailing list
> Maxima at math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima
>