递归实现指数函数 double calc_pow( double x, int n ){ //递归实现指数函数 if(n==1){ return x; } else{ return calc_pow(x,n-1)*x; } }