资 源 简 介
可能很多人都曾经想过要实现一些比较大的数的阶乘,但是C++中提供的标准数据类型其存储空间太小,根本无法实现。我们可以通过其他方法来实现,本程序用一个很简单的算法实现数的阶乘,程序很短,也很简单,各处都有注释,相信大家很容易就可以看懂,下载源码后在VC6.0中打开编译后即可运行,程序经少许改动可以实现更大的数的阶乘,有兴趣的读者在看完本程序后可一动手试试,其乐无穷!!希望这个程序能给大家一点帮助。程序可能还有许多不足之出,热烈欢迎各位前来指导。解压密码 本站默认解压密码:www.supcode.com -many people may have thought about the need to achieve some of the relatively large number of factorial. But C is the standard data types of its storage space is too small, it is impossible to achieve. We can through other methods to achieve this procedure with a very simple algorithm for the factorial, the procedures are short, is also very simple, and Notes everywhere, I believe we can easily understand them Download source VC6.0 after the open and then compile it to run. After some procedural changes can achieve greater number of factorial, interested readers at the end of the procedure after a try hands, Fun for all at! ! Hope this process will give us some help. There may be many procedural deficiencies that warm welcome to you all