How to transfer a domain int_List to a Visual Prolog 7.5 in C ++?
Posted: 25 Sep 2017 8:27
How to transfer a domain int_List to a Visual Prolog 7.5 in C ++?
This structure int_list in C++ not equivalent Visual Prolog 7.5.
<pre>typedef struct node {
unsigned char func ;
int val;
struct node *next;
} int_list;
int fnak_addKZ_Robot(wchar_t *kz ,int_list nodes);</pre>
Code: Select all
domains
int_List =node(integer,int_List);nil().
fnak_addKZ_Robot=(string Kz ,int_list Nodes) -> integer procedure language stdcall.
<pre>typedef struct node {
unsigned char func ;
int val;
struct node *next;
} int_list;
int fnak_addKZ_Robot(wchar_t *kz ,int_list nodes);</pre>