• 5902阅读
  • 2回复

[提问]qt中怎么调用pow(double,double) [复制链接]

上一主题 下一主题
离线xueyan8877
 
只看楼主 倒序阅读 楼主  发表于: 2013-01-13
qt中怎么调用pow(double,double)
在头文件里面添加#include <math.h>还是#include <qmath.h>
具体调用pow()的代码是什么???各位大侠 求救  急!!!
离线XChinux

只看该作者 1楼 发表于: 2013-01-13
qreal qPow ( qreal x, qreal y )
Returns the value of x raised to the power of y. That is, x is the base and y is the exponent.
二笔 openSUSE Vim N9 BB10 XChinux@163.com 网易博客 腾讯微博
承接C++/Qt、Qt UI界面、PHP及预算报销系统开发业务
离线xueyan8877
只看该作者 2楼 发表于: 2013-01-13
谢啦!!!
快速回复
限100 字节
 
上一个 下一个