On Tue, 2007-08-07 at 23:37 -0700, Yigal wrote: > Hi, > I'm building web site for interactive solving school math problems > using C++ CGI and open source math software. > As I've been told in maxima mailing list, instead of reinventing the > weel, i.e. carrying for interfaces to several CAS and other math > software (GiNaC, Pari, Maxima, Octave and so on), I should use SAGE. > So my question is, how can I use SAGE from within C++ CGI?
I don't know if it is possible. If it is possible, then the correct question is probably "How can I use Python from within C++?" > Or may be I > should change the concept and to choose other CGI options like PHP or > Perl for it? If you want to use SAGE, then the correct answer is, probably, just use SAGE. More specifically, python has built-in support for CGI through the cgi module: http://docs.python.org/lib/module-cgi.html and SAGE is built on top of python. So you should be able to use everything in the cgi module (or any other python module) just fine from within SAGE. (Alternately, you may think of SAGE as just python with a bunch of extra modules preloaded.) > Thanks for the help in advance. > Yigal Asnis > > > > > > --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/ -~----------~----~----~----~------~----~------~--~---
