1

I want having some string with octave expressions execute it from C++ API and print results onto consol. How to do such thing? In what header what function can do that for me?

For example giving exp(i*pi) I want to get -1 into some variable (stringbuf for example) and be capable to do with it anething - from casting to int to using it as string=)

Rella
  • 65,003
  • 109
  • 363
  • 636
  • See my answer to a similar question [here](http://stackoverflow.com/questions/9246444/how-to-embed-the-gnu-octave-in-c-c-program/) – Appleman1234 Feb 19 '12 at 00:53

0 Answers0