MathGroup Archive 2004

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

Search the Archive

Re: Re: mathlink newbie q

  • To: mathgroup at smc.vnet.net
  • Subject: [mg50397] Re: [mg50381] Re: mathlink newbie q
  • From: sean kim <sean_incali at yahoo.com>
  • Date: Thu, 2 Sep 2004 04:34:21 -0400 (EDT)
  • Reply-to: sean_incali01 at yahoo.com
  • Sender: owner-wri-mathgroup at wolfram.com

hi jens and hans

yes, there are c and cc files in the folder named src.
 there are 31 files total in that folder then there is
also cvs and parsers folder. 

I have no workign knowledge of c/c++ maybe it's not a
good idea... I'm getting frustrated even before I
begin. C/C++ seems to be so different from Mathematica
language. 

the files I received as directory tree does stochastic
simulation of chemical networks. (similar to
gillespie's exact stochastic simulation algorithm) 

why is it so difficult to run the codes and get the
data within Mathematica? ( and plot them) 

do you guys want to see it? 

I coudl email them to anyone who wants to see it. as I
have now more than on versions. 


thanks for any thoughts. 


sean 

--- Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
wrote:

> Hi,
> 
> 
> 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)
> 
> Regards
>   Jens
> 
> 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
> 
> 




		
_______________________________
Do you Yahoo!?
Win 1 of 4,000 free domain names from Yahoo! Enter now.
http://promotions.yahoo.com/goldrush


  • Prev by Date: Martix reconstruction by tensors of nonlinearity in an interger sequence
  • Next by Date: Re: Inflight magazine puzzle
  • Previous by thread: Re: mathlink newbie q
  • Next by thread: Re: Re: mathlink newbie q