函数重载可以先简单理解为名字一样的函数 比如一个计算面积的程序,我想计算长方形和圆的面积,我用重载的做法就是: double area(double r); double area(int width,int hight);