/*standard main.c to enter dialog loop or run program/0*/...
移動
次へ 前へ
上へ 最上
参考
IF/Prologのメインル−プのシュミレ−ト
IF/Prologのメインル−プのシュミレ−ト
supplier例に対するCプログラム
supplier例に対するPrologプログラム
supplierプログラムの実行
printt()プログラムの実行
printt()のデモンストレ−ション
イフコンピュータ > IF/Prolog > マニュアル > IF/Prolog V4.1 マニュアル > IF/Prolog Interfaces > C言語からIF/Prologへのインタフェ−ス > main.c プログラム例 > IF/Prologのメインル−プのシュミレ−ト

IF/Prologのメインル−プのシュミレ−ト

MINERVA superseeded IF/Prolog. Please see http://www.ifcomputer.co.jp/MINERVA for details.

We discontinued to sell IF/Prolog Dec 31. 2003. For current customers, we continue to provide professional support for IF/Prolog until Dec 31, 2008.

/*standard main.c to enter dialog loop or run program/0*/ #include "cpro.h" #include int main(argc, argv) int argc; char *argv[]; { QueryDescr *descr; int retc = 0;

if(InitProlog(argc,argv,stdin,stdout,stderr) != RESTARTED ) { ParseProlog("predicate_type(program,0,undefined)", &descr); RunProlog(descr); if (descr->ret_code == 1) ParseProlog("break",&descr); else ParseProlog("program",&descr); RunProlog(descr); retc = (descr->exit_code != 0); } EndProlog(); }

続く..
IF/Prolog by Siemens
言語
English
Japanese
German
サーバー
USA
Japan
サイトマップ
索引
目次
全体目次
全体索引
印刷向き
imode
PDA
探索
document: http://www.ifcomputer.co.jp/IFProlog/Manuals/v4.1/advanced_feature/hostli/examp/stand/home_jp.html
published 2008/12/1 update 1995/11/6 (c) 1996-2006 IF Computer Japan
IF Computer 〒113-0022 Tel 03-5814-3352 start (AT) ifcomputer.com
Customer Support 東京都文京区千駄木5-28-2   http://www.ifcomputer.co.jp
冒頭へ managed with ubiCMS