... Wrong number of arguments 调用函数的参数数目错 ``xxx`` not an argument xxx 不是参数 ``xxx`` not part of structure xxx 不是结构体的一部分 ...
基于4个网页-相关网页
如果不这么做,链接器会把名称当作标签而不是参数,因此会报告错误。
If this is not done, the linker would treat the names as labels rather then as arguments and will report an error.
您可能会将 ThingToHandle 声明为变量,而不是参数。
You might declare ThingToHandle as a variable instead of a parameter.
当然,如果您不需要更多的灵活性,那么可以在函数主体中直接使用常量,而不是参数。
Of course, you could use constants directly in the function body instead of parameters if you don't need the additional flexibility.
应用推荐