摘要: 1 #include<iostream> 2 3 #include <stack> 4 5 using namespace std; 6 int factorial(int num); 7 int factorialByStack(int num); 8 9 main()10 {11 int n = 10;12 int result1;13 int result2;14 result1 = factorialByStack(n);15 result2 = factorial(n);16 cout<<result1<<"--------- 阅读全文
posted @ 2013-03-21 02:16 WINSTON-DEAN 阅读(526) 评论(0) 推荐(0) 编辑