C Primer Plus note8

Posted lanshanxiao

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了C Primer Plus note8相关的知识,希望对你有一定的参考价值。

error: too few arguments to function \'imax\'|

 

运行上面的代码,产生了下面的错误:

中文翻译是:函数imax()中的参数太少。

      查看imax()函数声明,发现imax()有两个参数,这就是编译器报错的原因。

      在调用imax()函数的时候,少写了一个参数。

以上是关于C Primer Plus note8的主要内容,如果未能解决你的问题,请参考以下文章

C++Primer plus学习记录第一日.1

c primer plus 章二

C++ primer 和 visul C++ 区别

c primer plus 8编程练习

C primer plus笔记

C Primer Plus note9