摘要:
// DataStructTest.cpp : Defines the entry point for the console application.//说明:书中使用的为顺序栈结构,但栈的使用是在遍历时模拟的,为了重用以前的代码,我使用了以前实现的顺序栈结构#include "stdafx.h"#include #include //------------------------------... 阅读全文
摘要:
// DataStructTest.cpp : Defines the entry point for the console application.//说明:书中使用的为顺序栈结构,但栈的使用是在遍历时模拟的,为了重用以前的代码,我使用了以前实现的顺序栈结构#include "stdafx.h"#include #include //------------------------------... 阅读全文
摘要:
// 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... 阅读全文