[eclipse-users] how to make queries to the prolog database from C++

From: J. Manuel Velasco <jvelasco_at_guest.uji.es>
Date: Mon, 30 Oct 2006 13:46:27 +0100
Hello all,

I am trying to call prolog from C++.

I make a compilation of the prolog code:

post_goal(term(EC_functor("compile", 1), "familia"));

familia is a simple prolog database:
progenitor(clara,jose).
progenitor(tomas,jose).
progenitor(tomas,isabel).
progenitor(jose,ana).
progenitor(jose,patricia).
progenitor(patricia,jaime).

I would like to know in first time how can I make a query to the database from 
C++.

I am reading the manual and trying things from examples but I don't achieve.

Any help or guide will be appreciate.

Thanks in advance.
Received on Mon Oct 30 2006 - 12:46:29 CET

This archive was generated by hypermail 2.2.0 : Thu Feb 02 2012 - 02:31:57 CET