lwq1834515 发表于 2015-4-14 15:22:58

IVF编译错误 The type of the actual argument differs from the type of the ...

我在编译的时候出现了下面这样的错误:
Error      1         error #6633: The type of the actual argument differs from the type of the dummy argument.         
错误的描述我明白就是传递的参数和之前定义的不同,可是为什么显示的是呢?不应该是出错的参数吗?
没有找到出错的地方,请大家指教。


fcode 发表于 2015-4-14 15:34:31

给出错误行,及错误行调用的子程序的前几行。

lwq1834515 发表于 2015-4-14 15:47:02

fcode 发表于 2015-4-14 15:34
给出错误行,及错误行调用的子程序的前几行。

刚刚学会显示行数。我找到原因了,是因为我定义了一个函数,输入是浮点数。我输入了一个1就不对了,改为1.0就好了。谢谢老大。
页: [1]
查看完整版本: IVF编译错误 The type of the actual argument differs from the type of the ...