码迷,mamicode.com
首页 >  
搜索关键字:datatype missmatch    ( 1091个结果
_DataStructure_C_Impl:线索二叉树
#include #include #define MaxSize 100 /*线索二叉树类型定义*/ typedef char DataType; typedef enum {Link,Thread}PointerTag;//Link=0表示指向孩子节点,Thread=1表示指向前驱节点或后继节点 typedef struct Node{ DataType data; struct Node...
分类:其他好文   时间:2015-08-10 00:23:31    阅读次数:103
_DataStructure_C_Impl:稀疏矩阵十字链表存储
#include #include typedef int DataType; typedef struct OLNode{ int i,j; DataType e; struct OLNode *right,*down; }OLNode,*OLink; typedef struct{ OLink *rowhead,*colhead; int m,n,len; }CrossList; /...
分类:其他好文   时间:2015-08-08 18:19:16    阅读次数:144
_DataStructure_C_Impl:Array
#include #include #include #define MaxArraySize 2 typedef int DataType; typedef struct{ DataType *base; //数组元素的基地址 int dim; //数组的维数 int *bounds; //数组的每一维之间的界限的地址 int *constants; //数组存储映像常量基地址 }Ar...
分类:其他好文   时间:2015-08-08 06:46:42    阅读次数:216
_DataStructure_C_Impl:稀疏矩阵三元组
#include #include #define MaxSize 200 typedef int DataType; typedef struct{ //三元组类型定义 int i,j; DataType e; }Triple; typedef struct{ //矩阵类型定义 Triple data[MaxSize]; int rpos[MaxSize]; //用于存储三...
分类:其他好文   时间:2015-08-08 06:45:52    阅读次数:151
oracle增删改表字段
添加字段的语法:alter table tablename add (column datatype [default value][null/not null],….); 修改字段的语法:alter table tablename modify (column datatype [default value][null/not null],….); 删...
分类:数据库   时间:2015-08-07 20:25:21    阅读次数:176
jQuery.ajax()方法中参数详细解析
在项目开发中,为了实现异步向服务端发起请求,最经常使用的就是jQuery.ajax方法了。刚开始需求比较简单,调用jQuery.ajax方法时要传的参数也就那几个常见的参数:url/data/dataType/type/cache/timeout,当时感觉这个接口使用起来很简单,直到最近项目中要实现一个发送 formData数据到服务端的需求时,我发现自己错了。。。。原来jQuery.ajax()可以设置如此多的参数...
分类:Web程序   时间:2015-08-06 13:20:38    阅读次数:301
_DataStructure_C_Impl:双端队列
//_DataStructure_C_Impl:双端队列 #include #include #define QueueSize 8 //定义双端队列的大小 typedef char DataType; typedef struct DQueue{ //双端队列的类型定义 DataType queue[QueueSize]; int end1,end2; //双端队列的队尾指针 }DQue...
分类:其他好文   时间:2015-08-06 07:10:43    阅读次数:114
//_DataStructure_C_Impl:链式队列
//_DataStructure_C_Impl:链式队列 #include #include #define MaxSize 100 typedef int DataType; typedef struct QNode{ DataType data; struct QNode *next; }LQNode,*QueuePtr; typedef struct{ QueuePtr front; ...
分类:其他好文   时间:2015-08-06 07:08:26    阅读次数:110
_DataStructure_C_Impl:后缀表达式
//_DataStructure_C_Impl: #include #include #define StackSize 100 typedef char DataType; typedef struct{ DataType stack[StackSize]; int top; }SeqStack; //将栈初始化为空栈只需要把栈顶指针top置为 void InitStack(SeqStack...
分类:其他好文   时间:2015-08-05 06:41:14    阅读次数:109
_DataStructure_C_Impl:顺序队列
//_DataStructure_C_Impl:顺序队列 #include #include #define QueueSize 50 typedef char DataType; typedef struct Squeue{ //顺序队列类型定义 DataType queue[QueueSize]; int front,rear; //队头指针和队尾指针 }SeqQueue; //将顺序队列...
分类:其他好文   时间:2015-08-05 06:40:14    阅读次数:121
1091条   上一页 1 ... 78 79 80 81 82 ... 110 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!