intelligent software:  iDiana Demo

home

This is a demo application using iDiana lernel. Now you can download it for a try.

Windows version (based Intel chip) | Linux version (based Intel chip) | Unix version (based on Sparc chip)

#include "../h/diana.h"
#include <stdio.h> /*ANSI .h files*/
#include <string.h> /*ANSI .h files*/

#ifdef VXWORKS_VERSION 
    int mainDiana()
#else
    int main()
#endif /*VXWORKS_VERSION*/

    char pQuestion[1000];
    char pAnswer[1000];
    UINT32 ulAnswerSize = 1000;

    dianaInit();

    do{
        gets (pQuestion);
        dianaGetResponse(pQuestion, pAnswer, ulAnswerSize);
        printf ("%s\n", pAnswer);
    }while(strcmp(pAnswer, "bye")); 

    return 0;
}

If you want to get more information, please contact with us.