MathGroup Archive 2004

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: mathlink newbie q

  • To: mathgroup at
  • Subject: [mg50381] Re: mathlink newbie q
  • From: Jens-Peer Kuska <kuska at>
  • Date: Wed, 1 Sep 2004 01:49:20 -0400 (EDT)
  • Organization: Universitaet Leipzig
  • References: <ch1kft$ick$>
  • Reply-to: kuska at
  • Sender: owner-wri-mathgroup at


get the free windows compilers form Borland or the Watcom compiler
suite. The Borland Compilers are command line tools and
Watcom has some kind of IDE.

AFAIK MathLink is not working with LCC-win32

beside the header files *.h you need some c-files *.c. *.cpp or
*.C (on unix machines) and you have to write a Mathematica
Template and a C-function wrapper that take the parameter
from Mathematica and send the results back (only in very
simple cases the template is sufficient)


sean kim wrote:
> hello group,
> I have some codes written in C and C++.
> Obviously, I do not understand them as I have never taken C class.
> But, since Mathematica is able to call programs written in other languages, I
> thought this may be the way I should use the codes. ( even though I
> don't understand the code in C/C++ ...)
> The codes were sent to me as a directory tree has 22 h files in a
> folder named "Include"
> Does this sound like something Mathematica can handle using Mathlink, or do
> you need more info to answer that?
> Do I need working installations of c/c++ compilers etc etc?
> I have c(got it free from LCC-win32 website), but I don't have c++.
> If I do need both compilers, does anyone know of good free c++ install
> files for windows? ( maybe with nice gui)
> sorry for newbie q.
> any insights will be thoroughly appreciated.
> sean

  • Prev by Date: Re: 0^0=1 (?)
  • Next by Date: newbie is looking for a customDistribution function
  • Previous by thread: Re: how to join three plots to view it in one plot
  • Next by thread: Re: mathlink newbie q