Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'ListPlot[] from c++' topicStudent Support Forum > General > "ListPlot[] from c++"

< Previous CommentHelp | Reply To Comment | Reply To Topic
Author Comment/Response
Marko Havu
01/19/06 05:00am

You can use MathLink to communicate between the programs. Read "MathLink and External Program Communication" from The Mathematica Book. You can return C double arrays with:
- int MLPutRealList(MLINK link, double *a, long n)
- int MLPutRealArray(MLINK link, double *a, long *dims, char **heads, long d)
and C int arrays with:
- int MLPutIntegerList(MLINK link, int *a, long n)
- int MLPutIntegerArray(MLINK link, int *a, long *dims, char **heads, long d).
You can get help for all these in Mathematica help browser.

URL: ,

Subject (listing for 'ListPlot[] from c++')
Author Date Posted
ListPlot[] from c++ Moatez Eldib 12/04/05 4:16pm
Re: ListPlot[] from c++ Marko Havu 01/19/06 05:00am
< Previous CommentHelp | Reply To Comment | Reply To Topic