codeblocks pow函数 出现Not available in current context! pow(x,2*n),x n 的类型都是double 但是怎么默认pow 成int了? 不是应该是double 怎么处理
收起
(double)(2*n) 强转一下看看
报告相同问题?