摘要: 除了调用其他方法,方法也可以调用自身方法。这就叫做递归 递归的例子: int Factorial(int _intvalue) { if(_intvalue<=0) return _intvalue; else return _intvalue + Factorial(_intvalue-1);// 阅读全文
posted @ 2017-02-13 20:55 Win_HH 阅读(773) 评论(0) 推荐(0)