码迷,mamicode.com
首页 >  
搜索关键字:struct    ( 18973个结果
opencv Iplimage结构简介
IplImage 结构解读:typedef struct _IplImage{int nSize;/* IplImage大小 */int ID;/* 版本 (=0)*/int nChannels;/* 大多数OPENCV函数支持1,2,3 或 4 个通道 */int alphaChannel;/* ...
分类:其他好文   时间:2014-06-26 21:37:24    阅读次数:175
数据结构与算法分析-分离链接散列表的实现
#include#includetypedef char* ElementType;typedef unsigned int Index;#define MinTableSize 15struct ListNode;typedef struct ListNode *Position;struct H...
分类:其他好文   时间:2014-06-26 18:04:01    阅读次数:155
数据结构与算法分析-开放定址散列表的实现
#include#include"fatal.h"typedef char* ElementType;typedef unsigned int Index;typedef Index Position;struct HashTbl;typedef struct HashTbl *HashTable;...
分类:其他好文   时间:2014-06-26 17:19:52    阅读次数:150
Huffman编码(测试源代码)
1、此程序为c++程序2、以下代码可实现手动输入,即去掉代码中的/*...*/注释符,并同时去掉赋值代码段3、源代码#includeusing namespace std;typedef struct{ int weight, parent, lchild, rchild;}HTNode,*Huff...
分类:其他好文   时间:2014-06-26 16:54:53    阅读次数:223
Kruskal(测试源代码)
1、此程序为c++程序2、以下代码可实现手动输入,即去掉代码中的/*...*/注释符,并同时去掉赋值代码段3、源代码#includeusing namespace std;#define MaxInt 32767#define MVNum 100typedef struct{ char vexs[M...
分类:其他好文   时间:2014-06-26 16:38:00    阅读次数:287
Dijksktra(测试源代码)
1、此程序为c++程序2、以下代码可实现手动输入,即去掉代码中的/*...*/注释符,并同时去掉赋值代码段3、源代码#includeusing namespace std;#define MaxInt 32767#define MVNum 100typedef struct{ char vexs[M...
分类:其他好文   时间:2014-06-26 16:29:13    阅读次数:234
自己第一个控制台的游戏——贪吃蛇
一直想自己写个游戏玩玩,好像很厉害的样子,终于今天下定决心写了个最经典的休闲的小游戏——贪吃蛇,当然也有借鉴别人的程序,但是整个代码都是和别人不一样的,直接上代码吧: #include #include #include #include using namespace std; #define ROW 22 #define COL 22 struct Point { char ch...
分类:其他好文   时间:2014-06-26 13:24:30    阅读次数:196
POJ 1041 John's trip Euler欧拉回路判定和求回路
就是欧拉判定,判定之后就可以使用DFS求欧拉回路了。图论内容。 这里使用邻接矩阵会快很多速度。 这类题目都是十分困难的,光是定义的记录的数组变量就会是一大堆。 #include #include #include #include using namespace std; struct Edge { int ed, des; Edge(int e = 0, int d ...
分类:其他好文   时间:2014-06-26 13:16:05    阅读次数:250
解决QT:forward declaration of 'struct Ui::xxx';invalid use of incomplete struct "Ui::Widget" 等莫名奇妙错误
解决QT:forward declaration of 'struct Ui::xxx';invalid use of incomplete struct "Ui::Widget" 等莫名奇妙错误...
分类:其他好文   时间:2014-06-26 08:14:03    阅读次数:260
hdu1671Phone List(字典树)
#include #include #include #include using namespace std; typedef struct Node { struct Node *next[10]; int flag; }Node,*Tree; int flag1; void Cre...
分类:其他好文   时间:2014-06-25 11:27:43    阅读次数:154
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!