Vc++编译出现错误 error C2661: '()' : no overloaded function takes 6 parameters

c++的程序如下
a=newfis('fuzz_smc');
a=addvar(a,'input','hme_1',[-4,1]);
a=addmf(a,'input',1,'NB','trimf',[-6,-4,-3]);
a=addmf(a,'input',1,'NS','trimf',[-3.5,-2.5,-0.5]);
a=addmf(a,'input',1,'Z','trimf',[-2.5,-1.5,-0.5]);
a=addmf(a,'input'1'PS','trimf',[-1.5,-0.5,0.5]);
a=addmf(a,'input'1'PB','trimf',[0,1,2]);

出现的错误如下:
c:/users/administrator/desktop/chengxu.m(64) : error C2661: '()' : no overloaded function takes 6 parameters
c:/users/administrator/desktop/chengxu.m(64) : error C2064: term does not evaluate to a function

c:/users/administrator/desktop/chengxu.m(69) : error C2064: term does not evaluate to a function
c:/users/administrator/desktop/chengxu.m(71) : error C2661: '()' : no overloaded function takes 6 parameters
c:/users/administrator/desktop/chengxu.m(71) : error C2064: term does not evaluate to a function
c:/users/administrator/desktop/chengxu.m(72) : error C2661: '()' : no overloaded function takes 6 parameters

c:/users/administrator/desktop/chengxu.m(75) : error C2064: term does not evaluate to a function
c:/users/administrator/desktop/chengxu.m(112) : error C2661: '()' : no overloaded function takes 5 parameters
c:/users/administrator/desktop/chengxu.m(112) : error C2064: term does not evaluate to a function
执行 cl.exe 时出错.

如果想知道错误的原因。WBR你看一下你的大括号是不是在英文输入法下写上去的;可能是大括号,不妨查一下msdn 据说你这个错误是因为你的代码行中加入的有编译器不能识别的字符WBR;0xa3'。'是代表21行追问

我是新手,首先谢谢您的回答,麻烦下,您能回答详细下吗?

温馨提示:答案为网友推荐,仅供参考

相关了解……

你可能感兴趣的内容

大家正在搜

本站内容来自于网友发表,不代表本站立场,仅表示其个人看法,不对其真实性、正确性、有效性作任何的担保
相关事宜请发邮件给我们
© 非常风气网