摘要: // DataStructTest.cpp : Defines the entry point for the console application.//说明:书中使用的为顺序栈结构,但栈的使用是在遍历时模拟的,为了重用以前的代码,我使用了以前实现的顺序栈结构#include "stdafx.h"#include #include //------------------------------... 阅读全文
posted @ 2007-07-12 16:22 吴东雷 阅读(442) 评论(0) 推荐(0) 编辑
摘要: // DataStructTest.cpp : Defines the entry point for the console application.//说明:书中使用的为顺序栈结构,但栈的使用是在遍历时模拟的,为了重用以前的代码,我使用了以前实现的顺序栈结构#include "stdafx.h"#include #include //------------------------------... 阅读全文
posted @ 2007-07-12 16:19 吴东雷 阅读(552) 评论(0) 推荐(0) 编辑
摘要: // DataStructTest.cpp : Defines the entry point for the console application.//#include "stdafx.h"#include #include //递归方法int Fib_1(int n){ if (n==0) return 0; else if (n==1) return... 阅读全文
posted @ 2007-07-12 16:17 吴东雷 阅读(245) 评论(0) 推荐(0) 编辑