From iguven@ug.bilkent.edu.tr Sat Nov  3 13:22:17 2001
Received: from tuna.ug.bcc.bilkent.edu.tr (tuna.ug.bcc.bilkent.edu.tr [139.179.11.24])
	by swi.psy.uva.nl (8.11.2/8.11.2) with ESMTP id fA3CMBt23280
	for <prolog@swi.psy.uva.nl>; Sat, 3 Nov 2001 13:22:12 +0100 (MET)
Received: from ug.bilkent.edu.tr (b197d243.dorm.bilkent.edu.tr [139.179.197.243])
	by tuna.ug.bcc.bilkent.edu.tr (8.12.0/8.12.0) with ESMTP id fA3CRXjA008243
	for <prolog@swi.psy.uva.nl>; Sat, 3 Nov 2001 14:27:34 +0200 (EET)
Message-ID: <3BE3FD1E.9030001@ug.bilkent.edu.tr>
Date: Sat, 03 Nov 2001 16:20:14 +0200
From: idil <iguven@ug.bilkent.edu.tr>
User-Agent: Mozilla/5.0 (X11; U; Linux 2.4.3-20mdk i686; en-US; 0.8) Gecko/20010409
X-Accept-Language: en
MIME-Version: 1.0
To: prolog@swi.psy.uva.nl
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Subject: [SWIPL] calling SWI-prolog in C++ for querying

hi!

my problem is that i have to write a c++ program that loads a rule and a 
facts file (.pl) then form a new query(a fact) and assert ii to the 
engine. then call that query and get the results within a loop. how can 
i do this. if you have some examples related to this, I will be very happy!
thanks

idil...

