问个问题,double cos
c4droid吧
全部回复
仅看楼主
level 11
贴吧用户_7WM9S2a
楼主
问个问题,double costofpaint(int,double)是什么意思
2017年06月09日 05点06分
1
level 11
贴吧用户_7WM9S2a
楼主
这个函数要怎么用
2017年06月09日 05点06分
2
level 12
幻🔯世
容我水一贴,拿点经验!
这个是函数的声明,返回类型是double,它接受一个int和一个double类型的实参,记得要定义costofpaint函数。
使用举例,int i = 66; int k = 99;
double b = costofpaint(i, k);
2017年06月09日 07点06分
3
level 11
麓fantaisie
就是一个函数定义
2017年06月09日 10点06分
4
幻🔯世
这个是声明,不是定义!
2017年06月09日 13点06分
麓fantaisie
回复 梦游症晚期 : 差不多的东西
2017年06月09日 13点06分
1