⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 main.c

📁 NASA 开发使用的一个专家系统
💻 C
字号:
   /*******************************************************/   /*      "C" Language Integrated Production System      */   /*                                                     */   /*             CLIPS Version 6.05  04/09/97            */   /*                                                     */   /*                     MAIN MODULE                     */   /*******************************************************//*************************************************************//* Purpose:                                                  *//*                                                           *//* Principal Programmer(s):                                  *//*      Gary D. Riley                                        *//*                                                           *//* Contributing Programmer(s):                               *//*                                                           *//* Revision History:                                         *//*                                                           *//*************************************************************/#include <stdio.h>#include "setup.h"#include "sysdep.h"#include "extnfunc.h"#include "commline.h"#if ANSI_COMPILERint main(int,char *[]);VOID UserFunctions(void);#elseint main();VOID UserFunctions();#endif/***************************************************************//* MAIN: Start execution of CLIPS.  This function must be      *//*   redefined in order to embed CLIPS within another program. *//*   Example of redefined main:                                *//*     main()                                                  *//*       {                                                     *//*        InitializeCLIPS();                                   *//*            .                                                *//*            .                                                *//*            .                                                *//*        ProcessData();                                       *//*        RunCLIPS(-1);                                        *//*        EvaluateData();                                      *//*            .                                                *//*            .                                                *//*            .                                                *//*        FinalResults();                                      *//*       }                                                     *//***************************************************************/int main(argc,argv)  int argc;  char *argv[] ;  {   InitializeCLIPS();      RerouteStdin(argc,argv);   CommandLoop();   return(-1);  }  /*************************************************************//* UserFunctions:  The function which informs CLIPS of any   *//*   user defined functions.  In the default case, there are *//*   no user defined functions.  To define functions, either *//*   this function must be replaced by a function with the   *//*   same name within this file, or this function can be     *//*   deleted from this file and included in another file.    *//*   User defined functions may be included in this file or  *//*   other files.                                            *//*   Example of redefined UserFunctions:                     *//*     UserFunctions()                                       *//*       {                                                   *//*        DefineFunction("fun1",'i',fun1,"fun1");            *//*        DefineFunction("other",'f',other,"other");         *//*       }                                                   *//*************************************************************/VOID UserFunctions()  {  }

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -