Calling to Prolog from C

[email protected]
Newsgroups gmane.comp.gnu.prolog.general
Message-ID <[email protected]>
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.

_______________________________________________
Users-prolog mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/users-prolog
files.tar (application/x-tar, 10 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.