摘要
本文结合生活实际探讨了递归函数的概念,并举例说明了递归函数的具体编写方法,研究了递归的调用机制,最后总结了递归函数的利弊,提出要适当地使用递归思想的原则。
In this Paper, the concept of Recursive Function is studied combined with daily life. The way to program recursive functions is shown by samples, and its call mechanism is analyzed. The benefit and disadvantage of these functions are concluded, while the principle to use rec^sive thought properly is also proposed.
出处
《湖北广播电视大学学报》
2012年第9期159-160,共2页
Journal of Hubei Radio & Television University
关键词
递归
函数
程序设计
C++语言
Recursiori
Function
Programming
C++ Language