摘要: // DataStructTest.cpp : Defines the entry point for the console application.//#include "stdafx.h"#include #include typedef struct linked_queue{ int data; struct linked_queue * next;}LqueueTp;t... 阅读全文
posted @ 2007-06-25 16:45 吴东雷 阅读(278) 评论(0) 推荐(0) 编辑
摘要: // DataStructTest.cpp : Defines the entry point for the console application.//#include "stdafx.h"#include #include int const maxsize=20;typedef struct cycqueue{ int data[maxsize]; int front; ... 阅读全文
posted @ 2007-06-25 15:32 吴东雷 阅读(271) 评论(0) 推荐(0) 编辑
摘要: // DataStructTest.cpp : Defines the entry point for the console application.//#include "stdafx.h"#include #include typedef struct node{ int data; struct node * next;}LStackTp;//初始化.书上的算法没有考虑到释放栈... 阅读全文
posted @ 2007-06-25 11:35 吴东雷 阅读(296) 评论(0) 推荐(0) 编辑
摘要: // DataStructTest.cpp : Defines the entry point for the console application.//#include "stdafx.h"#include #include int const sqstack_maxsize=6;struct sqstack{ int data[sqstack_maxsize]; int top;};//... 阅读全文
posted @ 2007-06-25 11:33 吴东雷 阅读(244) 评论(0) 推荐(0) 编辑
摘要: // DataStructTest.cpp : Defines the entry point for the console application.//#include "stdafx.h"#include #include typedef struct node * pointer;struct node{ int data; pointer next;};typedef poi... 阅读全文
posted @ 2007-06-25 09:12 吴东雷 阅读(211) 评论(0) 推荐(0) 编辑
摘要: // DataStructTest.cpp : Defines the entry point for the console application.//#include "stdafx.h"#include #include typedef struct node * pointer;struct node{ int data; pointer next;};typedef poi... 阅读全文
posted @ 2007-06-25 09:11 吴东雷 阅读(388) 评论(0) 推荐(0) 编辑
摘要: 我是一名自考生,也是一个普通的程序员.数据结构这门课对我来说是非常重要的,但是因为我是学自考的,以前上学的时候也没有学过这门课,现在也没有人辅导,所以只能自学.我记得李开复曾经说过,"计算机这门课有些课程自学起来是相当困难的,比如数据结构和算法".这点我深有感触,因为我也曾经试图自学这门课,但每每都会遇到很多的挫折,有些问题对我来说相当有困难,比如我印象最深的那个字符串匹配算法,我到现在也不能很好... 阅读全文
posted @ 2007-06-25 09:11 吴东雷 阅读(373) 评论(0) 推荐(0) 编辑