07 2007 档案

摘要:#include "stdafx.h"#include #include int const vnum=6;//单链表定义typedef struct arcnode{ int adjvex; //与其相连的下个结点的编号 struct arcnode * nextarc; ... 阅读全文
posted @ 2007-07-30 13:46 吴东雷 阅读(276) 评论(0) 推荐(0) 编辑
摘要:#include "stdafx.h"#include #include int const vnum=6;int const MAX=32767;typedef struct graph{ int vexs[vnum]; //顶点信息 int arcs[vnum][vnum]; ... 阅读全文
posted @ 2007-07-30 10:15 吴东雷 阅读(383) 评论(0) 推荐(0) 编辑
摘要:#include "stdafx.h"#include #include //------------------------------------------------使用顺序表建立的队列结构------------------------------int const maxsize=20;typedef struct cycqueue{ int data[maxsize]; ... 阅读全文
posted @ 2007-07-28 11:29 吴东雷 阅读(484) 评论(0) 推荐(0) 编辑
摘要:#include "stdafx.h"#include #include //邻接表,存储P114的5-10#define vnum 8//单链表定义typedef struct arcnode{ int adjvex; //与其相连的下个结点的编号 struct arcnode * nextarc;... 阅读全文
posted @ 2007-07-28 11:28 吴东雷 阅读(666) 评论(0) 推荐(0) 编辑
摘要:#include "stdafx.h"#include #include int const ELEMENTCOUNT=5; //判断条件的个数,即初始根节点的数量struct node{ float wt; //权值 int parent,lchild,... 阅读全文
posted @ 2007-07-14 15:06 吴东雷 阅读(595) 评论(0) 推荐(0) 编辑
摘要:// DataStructTest.cpp : Defines the entry point for the console application.//说明:书中使用的为顺序栈结构,但栈的使用是在遍历时模拟的,为了重用以前的代码,我使用了以前实现的顺序栈结构#include "stdafx.h"#include #include //------------------------------... 阅读全文
posted @ 2007-07-12 16:22 吴东雷 阅读(444) 评论(0) 推荐(0) 编辑
摘要:// DataStructTest.cpp : Defines the entry point for the console application.//说明:书中使用的为顺序栈结构,但栈的使用是在遍历时模拟的,为了重用以前的代码,我使用了以前实现的顺序栈结构#include "stdafx.h"#include #include //------------------------------... 阅读全文
posted @ 2007-07-12 16:19 吴东雷 阅读(557) 评论(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 吴东雷 阅读(248) 评论(0) 推荐(0) 编辑
摘要:// DataStructTest.cpp : Defines the entry point for the console application.//#include "stdafx.h"#include #include typedef struct btnode * bitreptr;struct btnode{ char data; //数据... 阅读全文
posted @ 2007-07-09 11:10 吴东雷 阅读(608) 评论(0) 推荐(0) 编辑
摘要:WinForm继承Control,实现对Windows标准控件的包装! 阅读全文
posted @ 2007-07-07 08:58 吴东雷 阅读(1271) 评论(0) 推荐(0) 编辑
摘要:最近使用VSFlexGrid绑到DataSource为一个Oracle的Recoreset时,出现绑定的表格出现空间,有的时几行之间间断一行,有的是大片的间断.在Baidu和Google搜索了半天,也有些人和我遇到的是一样的问题,有的说Set Grid.DataSource=Rst后不关闭RecoredSet,认为是可能是还没有绑定完毕就关闭了Recordset造成的空行.这个我认为肯定是错误的,... 阅读全文
posted @ 2007-07-05 16:32 吴东雷 阅读(706) 评论(0) 推荐(0) 编辑
摘要:// DataStructTest.cpp : Defines the entry point for the console application.//#include "stdafx.h"#include #include const int maxnum=10;struct NODE{ int rowNO; //行号 int co... 阅读全文
posted @ 2007-07-03 10:41 吴东雷 阅读(2092) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示