[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Interface with C++
From: |
Benoît LAURENT |
Subject: |
Interface with C++ |
Date: |
Wed, 30 Jun 2004 17:25:51 +0200 |
Hello,
I am a beginner with GNU Prolog.
I would like to use the prolog engine in C++ file. I develop under Dev C++.
Here is my code :
#include <iostream>
#include <stdlib.h>
#include <gprolog.h>
using namespace std;
int main(int argc, char *argv[])
{
Start_Prolog(argc, argv) ;
system("PAUSE");
return 0;
}
The code can not be compiled. I have a link error due to Start_Prolog.
I must have missed something trivial...
Thank you in advance.
Benoît
<<attachment: winmail.dat>>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Interface with C++,
Benoît LAURENT <=