Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.ai.fuzzy    |    Fuzzy logic... all warm and fuzzy-like    |    1,275 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 205 of 1,275    |
|    My God to All    |
|    How to Use fis.c    |
|    07 Mar 04 11:24:41    |
      From: carslw@sina.com              I want to apply the fis.c provided in MATLAB to a VC project. But many       errors are generated as follow:              d:\work\fis.c(154) : error C2660: 'fopen' : function does not take 2       parameters       d:\work\fis.c(519) : error C2197: 'double (__cdecl *)(void)' : too many       actual parameters       d:\work\fis.c(593) : error C2664: 'fisArrayOperation' : cannot convert       parameter 3 from 'double (double,double)' to 'double (__cdecl *)(void)'        None of the functions with this name in scope match the target type       d:\work\fis.c(616) : error C2664: 'fisArrayOperation' : cannot convert       parameter 3 from 'double (double,double)' to 'double (__cdecl *)(void)'        None of the functions with this name in scope match the target type       d:\work\fis.c(639) : error C2664: 'fisArrayOperation' : cannot convert       parameter 3 from 'double (double,double)' to 'double (__cdecl *)(void)'        None of the functions with this name in scope match the target type       d:\work\fis.c(885) : error C2440: '=' : cannot convert from 'double (__cdecl       *)(struct fis_node *,int,double *,int)' to 'double (__cdecl *)(void)'        This conversion requires a reinterpret_cast, a C-style cast or       function-style cast       d:\work\fis.c(887) : error C2440: '=' : cannot convert from 'double (__cdecl       *)(struct fis_node *,int,double *,int)' to 'double (__cdecl *)(void)'        This conversion requires a reinterpret_cast, a C-style cast or       function-style cast       d:\work\fis.c(889) : error C2440: '=' : cannot convert from 'double (__cdecl       *)(struct fis_node *,int,double *,int)' to 'double (__cdecl *)(void)'        This conversion requires a reinterpret_cast, a C-style cast or       function-style cast       d:\work\fis.c(891) : error C2440: '=' : cannot convert from 'double (__cdecl       *)(struct fis_node *,int,double *,int)' to 'double (__cdecl *)(void)'        This conversion requires a reinterpret_cast, a C-style cast or       function-style cast       d:\work\fis.c(893) : error C2440: '=' : cannot convert from 'double (__cdecl       *)(struct fis_node *,int,double *,int)' to 'double (__cdecl *)(void)'        This conversion requires a reinterpret_cast, a C-style cast or       function-style cast       d:\work\fis.c(1586) : error C2664: 'fisArrayOperation' : cannot convert       parameter 3 from 'double (__cdecl *)(double,double)' to 'double (__cdecl       *)(void)'        This conversion requires a reinterpret_cast, a C-style cast or       function-style cast       d:\work\fis.c(1609) : error C2664: 'fisArrayOperation' : cannot convert       parameter 3 from 'double (__cdecl *)(double,double)' to 'double (__cdecl       *)(void)'        This conversion requires a reinterpret_cast, a C-style cast or       function-style cast       d:\work\fis.c(1726) : error C2664: 'fisArrayOperation' : cannot convert       parameter 3 from 'double (__cdecl *)(double,double)' to 'double (__cdecl       *)(void)'        This conversion requires a reinterpret_cast, a C-style cast or       function-style cast       d:\work\fis.c(1756) : error C2664: 'fisArrayOperation' : cannot convert       parameter 3 from 'double (double,double)' to 'double (__cdecl *)(void)'        None of the functions with this name in scope match the target type       d:\work\fis.c(1818) : error C2197: 'double (__cdecl *)(void)' : too many       actual parameters       d:\work\fis.c(2095) : error C2664: 'fisArrayOperation' : cannot convert       parameter 3 from 'double (double,double)' to 'double (__cdecl *)(void)'        None of the functions with this name in scope match the target type       d:\work\fis.c(2096) : error C2664: 'fisArrayOperation' : cannot convert       parameter 3 from 'double (double,double)' to 'double (__cdecl *)(void)'        None of the functions with this name in scope match the target type       d:\work\fis.c(2259) : warning C4244: '=' : conversion from 'double' to       'int', possible loss of data       d:\work\fis.c(2278) : warning C4244: '=' : conversion from 'double' to       'int', possible loss of data       d:\work\fis.c(2297) : warning C4244: '=' : conversion from 'double' to       'int', possible loss of data       Error executing cl.exe.              network.obj - 17 error(s), 3 warning(s)              Does it require some setting in VC? But there is no error when running       fismain.c.              Thanks.              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca