Calling Eclipse function from C++

From: Sathish Kumar Murugesan <satish_79_at_yahoo.com>
Date: Fri 16 Mar 2001 05:12:15 PM GMT
Message-ID: <20010316171215.2966.qmail@web3104.mail.yahoo.com>
Hi,

I have just started working with Elcipse and I have
got a problem which might rather be a primitive one. 

I need to have a function written in Eclipse, for
instance

*********************

concat_test(A, B):-
      concat_string([A, "_", B], X),
      writeln(X).

********************

And I want to call this function from a C++ program. I
gathered that I can call this function using 

post_goal(term(EC_functor("concat_test", 2), A, B));

But my problem is, how do I get the concat_test
function compiled? And what do I need to do if I want
to return the value of X from the concat_test
function?

Thanks in advance,
Sathish.

__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/
Received on Fri Mar 16 17:13:21 2001

This archive was generated by hypermail 2.1.8 : Wed 16 Nov 2005 06:07:08 PM GMT GMT