Like Tree1Likes
  • 1 Post By AndrewHunter

swi prolog calling c++ program

This is a discussion on swi prolog calling c++ program within the C++ Programming forums, part of the General Programming Boards category; Hi, I am trying to have an swi prolog program call functions or methods in a c++ program. it may ...

  1. #1
    Registered User
    Join Date
    Aug 2011
    Posts
    2

    Cool swi prolog calling c++ program

    Hi,

    I am trying to have an swi prolog program call functions or methods in a c++ program. it may be two way communication. Are there any tutorials for this sort of stuff with swi prolog and vc++ 2010. Any sample code?

    Thanks gang

  2. #2
    Registered User
    Join Date
    May 2011
    Location
    Around 8.3 light-minutes from the Sun
    Posts
    1,866
    Did you look at SWI-Prolog C++ Interfaces?
    Last edited by AndrewHunter; 08-17-2011 at 07:20 PM.
    Quote Originally Posted by anduril462 View Post
    Now, please, for the love of all things good and holy, think about what you're doing! Don't just run around willy-nilly, coding like a drunk two-year-old....
    Quote Originally Posted by quzah View Post
    ..... Just don't be surprised when I say you aren't using standard C anymore, and as such,are off in your own little universe that I will completely disregard.
    Warning: Some or all of my posted code may be non-standard and as such should not be used and in no case looked at.

  3. #3
    and the Hat of Guessing tabstop's Avatar
    Join Date
    Nov 2007
    Posts
    14,185
    I know it sounds crazy, but have you tried doing a web search on "SWI Prolog calling C++ program"? Admittedly, I only got 62,500 results from Google.

  4. #4
    Registered User
    Join Date
    May 2011
    Location
    Around 8.3 light-minutes from the Sun
    Posts
    1,866
    Quote Originally Posted by tabstop View Post
    I know it sounds crazy, but have you tried doing a web search on "SWI Prolog calling C++ program"? Admittedly, I only got 62,500 results from Google.
    *gasp* How dare you tell someone to use Google! Just ignore the fact that the link I posted was the second link Google pulled up.
    stahta01 likes this.
    Quote Originally Posted by anduril462 View Post
    Now, please, for the love of all things good and holy, think about what you're doing! Don't just run around willy-nilly, coding like a drunk two-year-old....
    Quote Originally Posted by quzah View Post
    ..... Just don't be surprised when I say you aren't using standard C anymore, and as such,are off in your own little universe that I will completely disregard.
    Warning: Some or all of my posted code may be non-standard and as such should not be used and in no case looked at.

  5. #5
    Registered User
    Join Date
    Aug 2011
    Posts
    2

    thank you this looks promising

    Quote Originally Posted by AndrewHunter View Post
    thank you this looks promising

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 1
    Last Post: 03-03-2009, 04:47 PM
  2. Calling one program from another
    By sureshkumarct in forum C Programming
    Replies: 1
    Last Post: 01-09-2007, 06:35 AM
  3. Calling another program
    By chris1985 in forum C Programming
    Replies: 2
    Last Post: 12-15-2004, 04:16 PM
  4. Calling another program
    By Finchie_88 in forum Windows Programming
    Replies: 1
    Last Post: 10-25-2004, 01:13 PM
  5. Calling an FTP from within a program
    By clancyPC in forum C Programming
    Replies: 2
    Last Post: 04-17-2002, 05:37 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21