07 2007 档案
摘要:#include "stdafx.h"#include #include int const vnum=6;//单链表定义typedef struct arcnode{ int adjvex; //与其相连的下个结点的编号 struct arcnode * nextarc; ...
阅读全文
摘要:#include "stdafx.h"#include #include int const vnum=6;int const MAX=32767;typedef struct graph{ int vexs[vnum]; //顶点信息 int arcs[vnum][vnum]; ...
阅读全文
摘要:#include "stdafx.h"#include #include //------------------------------------------------使用顺序表建立的队列结构------------------------------int const maxsize=20;typedef struct cycqueue{ int data[maxsize]; ...
阅读全文
摘要:#include "stdafx.h"#include #include //邻接表,存储P114的5-10#define vnum 8//单链表定义typedef struct arcnode{ int adjvex; //与其相连的下个结点的编号 struct arcnode * nextarc;...
阅读全文
摘要:#include "stdafx.h"#include #include int const ELEMENTCOUNT=5; //判断条件的个数,即初始根节点的数量struct node{ float wt; //权值 int parent,lchild,...
阅读全文
摘要:// 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...
阅读全文
摘要:// DataStructTest.cpp : Defines the entry point for the console application.//#include "stdafx.h"#include #include typedef struct btnode * bitreptr;struct btnode{ char data; //数据...
阅读全文
摘要:WinForm继承Control,实现对Windows标准控件的包装!
阅读全文
摘要:最近使用VSFlexGrid绑到DataSource为一个Oracle的Recoreset时,出现绑定的表格出现空间,有的时几行之间间断一行,有的是大片的间断.在Baidu和Google搜索了半天,也有些人和我遇到的是一样的问题,有的说Set Grid.DataSource=Rst后不关闭RecoredSet,认为是可能是还没有绑定完毕就关闭了Recordset造成的空行.这个我认为肯定是错误的,...
阅读全文
摘要:// 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...
阅读全文