Hello all, I have a long file with a lot of Prolog facts and other that is the result of converting constraints with the chr2pl command. I need to make some inferences from results that I get as output in a C++ function, so I am trying to embebeb Prolog in C++. I am experiecing problems since I am really newbie. I tried with ec_post_string giving to porlog line by line, but I get an "found-end-of-line" not recogniced command error. I look for other way and I found things like: post_goal(term(EC_functor("writeln",1),"hello world")); But I don't achieve good understanding how can I pass the prolog facts. I would love to attach the two files I need to embebed but the message is held. Any help/guide will be appreciate. Best Regards, ·_· manouReceived on Fri Oct 27 2006 - 13:07:34 CEST
This archive was generated by hypermail 2.3.0 : Wed Sep 25 2024 - 15:13:20 CEST