ic.dat test.in sclick.c dclick.c index.html ic_mng.exeThe IC test.in has two state: 0 and 1. In 0, it receives an input msg SINGLECLICK, goes to state 1 and performs action singleclick(). In 1, it receives an input msg DOUBLECLICK, returns to state 0 and performs action doubleclick().
The files ic.dat and test.ic should be copied into the directory where the icm .c and .h files are stored. The two c programs: sclick.c and dclick.c, should be created by the user, in which two actions are defined.
Run "icc ic.dat" in dos prompt. Finally open VC++, make a new project and add the following files into the project:
actions.c app.h cgienv.c db_def.h do_predicate.c event_mesg.h fuzzy.c fuzzy.h ic.h ic_func2.c ic_func3.c ic_functions.c ic_state.c icm.c util.c mm.h prototype.hThe project is then compiled.
After setting up the virtual directory in the personal web server, you can test the example by browsing index.html.