摘要:
今天一个人说他的程序出了个错误如下:call of overloaded `pow(int&, int&)" is ambiguous代码如下f = pow(2,4);google一下才发现,是参数不对,pow(double, int)所以要强转。原来这个pow是一个老的C语言函数,是不支持重载的。。必需参数要一致。。 阅读全文
posted @ 2011-11-21 23:17
sunstar1989
阅读(443)
评论(0)
推荐(0)
浙公网安备 33010602011771号