AI Zone Admin Forum Add your forum

NEWS: Chatbots.org survey on 3000 US and UK consumers shows it is time for chatbot integration in customer service!read more..

Which header files should be included when using ChatScript as embedded program/library?
 
 

This is my main.cpp file and my goal is passing a string “hi” to Harry bot and showing the answer in terminal/output.

#include <iostream>
using namespace std;
 

int main(int argcchar argv[])
{
char
input="hi";
charoutput;
char userID="one";
 
InitSystem (0NULL);
void InitStandalone();
 
PerformChat("one","Harry",input,NULL,output);
 
cout<<output;
 
    return 
0;

But I don’t know which one of these header files should be included above my main.cpp?

#include "common.h"
#include "mainSystem.h"
#include "mprintf.h"
#include "multi.h"
#include "common1.h"
#include "cs_ev.h"
#include "dictionaryMore.h"
#include "constructCode.h"
#include "csocket.h"
#include "dictionarySystem.h"
#include "english.h"
#include "evserver.h"
#include "factSystem.h"
#include "functionExecute.h"
#include "infer.h"
#include "jsmn.h"
#include "json.h"
#include "markSystem.h"
#include "mongodb.h"
#include "my_sql.h"
#include "os.h"
#include "outputSystem.h"
#include "patternSystem.h"
#include "postgres.h"
#include "privatesrc.h"
#include "scriptCompile.h"
#include "spellcheck.h"
#include "systemVariables.h"
#include "tagger.h"
#include "testing.h"
#include "textUtilities.h"
#include "tokenSystem.h"
#include "topicSystem.h"
#include "userCache.h"
#include "userSystem.h"
#include "variableSystem.h" 

 

 

 
  login or register to react