ASKSAGE: Sage Q&A Forum - Individual question feedhttp://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Wed, 04 Jul 2012 10:57:16 -0500using features of sage in c++http://ask.sagemath.org/question/9133/using-features-of-sage-in-c/Hello.
I want to know that it is possible to use integral command of sage in c++ ?
I want to write a program in which i need to do analytical integration. There is symbolicc++ that can do this but it is not as powerful as sage in integration , so i want to know that it is possible use sage commands withing c++ codes?
ThanksWed, 04 Jul 2012 04:32:14 -0500http://ask.sagemath.org/question/9133/using-features-of-sage-in-c/Answer by benjaminfjones for <p>Hello.
I want to know that it is possible to use integral command of sage in c++ ?
I want to write a program in which i need to do analytical integration. There is symbolicc++ that can do this but it is not as powerful as sage in integration , so i want to know that it is possible use sage commands withing c++ codes?</p>
<p>Thanks</p>
http://ask.sagemath.org/question/9133/using-features-of-sage-in-c/?answer=13798#post-id-13798I think your best bet is to use [IPC](http://en.wikipedia.org/wiki/Inter-process_communication) to control a Sage process from inside your C++ program. This of course will require Sage to be installed and accessible to the program.
You could also setup a [sagecell](https://github.com/sagemath/sagecell) server and have your C++ program query the server.Wed, 04 Jul 2012 10:57:16 -0500http://ask.sagemath.org/question/9133/using-features-of-sage-in-c/?answer=13798#post-id-13798