Interface with C++
Benoît LAURENT <[email protected]>
| Newsgroups | gmane.comp.gnu.prolog.general |
|---|---|
| Message-ID | <[email protected]> |
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
_______________________________________________
Users-prolog mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/users-prolog
winmail.dat
(application/ms-tnef, 1.7 KB) - not displayed