users-prolog
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Calling to Prolog from C


From: cegea
Subject: Calling to Prolog from C
Date: Thu, 24 Feb 2005 18:48:02 +0100 (CET)
User-agent: SquirrelMail/1.4.4

Hi,

I send you three files:

     Makefile.
     Carlos.cc---> this is a file which calls to Prolog file.
     call_operations_Suma.pl--> This file contains the Prolog predicate
which are called by Carlos.cc.


This little program simulates a bank account, and for it puts to 0 the
account, then deposit 5 and finally shows the money that exists in the
account.

The problem is in the final result. Because the out is wrong.

Can you help me???


Cheers.

Attachment: files.tar
Description: Unix tar archive


reply via email to

[Prev in Thread] Current Thread [Next in Thread]