[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
returning a string to C
From: |
HoffHoffyN |
Subject: |
returning a string to C |
Date: |
Sun, 11 Jan 2004 23:23:38 -0500 |
Hi everyone
Im very new to GNU prolog.
Just about a week
and Ive been working on this problem but cant get past this point.
I running a program (clauseform(X,Y) //Y is the clause form of X)
and I want the Y to become a char string in C
i used arg[1]=Mk_Variable() arg[0]=Mk_String(str);
then I call the query and
char *solution = Rd_string(arg[1])
this is where the program crashes
can someone tell me what I am doing wrong?
__________________________________________________________________
New! Unlimited Netscape Internet Service.
Only $9.95 a month -- Sign up today at http://isp.netscape.com/register
Act now to get a personalized email address!
Netscape. Just the Net You Need.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- returning a string to C,
HoffHoffyN <=