摘要
在图形用户界面广为流行的今天,人工智能程序设计大多仍基于文本方式,通过程序连接的方式,人工智能程序也可以具有漂亮的GUI界面.Prolog是逻辑程序设计语言,C是过程型语言,Prolog程序与C程序的连接为Prolog提供了更强的计算能力和GUI功能,也为C语言的应用提供了智能推理能力.基于TurboProlog2.0和TurboC2.0,本文结合程序实例介绍了Prolog程序和C程序的接口程序设计和连接实现技术,为通过程序连接进行人工智能程序的用户界面开发打下了基础.
While GUI technology in programming is popular these days, artificial intelligence programming is still text based. By means of program connection, artifical intelligence programs can have beautiful interfaces. Based on Turbo Prolog 2.0 and Turbo C 2.0, this paper gives a detailed technology which can implement the connection of these two lauguages.
出处
《上海大学学报(自然科学版)》
CAS
CSCD
1998年第6期688-692,共5页
Journal of Shanghai University:Natural Science Edition
基金
上海市高校科技发展基金