摘要:
#include#includetypedef struct{ char *str; int length;}HeapString;//串的赋值操作void StrAssign(HeapString *S,char cstr[]){ int i=0,len; if(S->str) free(S... 阅读全文
posted @ 2015-08-06 02:42
_noname
阅读(101)
评论(0)
推荐(0)
摘要:
#include#include#define MaxLength 60typedef struct{ char str[MaxLength]; int length;}SeqString;//串的赋值操作void StrAssign(SeqString *S,char cstr[]){ int... 阅读全文
posted @ 2015-08-06 02:40
_noname
阅读(145)
评论(0)
推荐(0)
摘要:
//_DataStructure_C_Impl:双端队列#include#include#define QueueSize 8 //定义双端队列的大小typedef char DataType;typedef struct DQueue{ //双端队列的类型定义 DataType queue[... 阅读全文
posted @ 2015-08-06 02:39
_noname
阅读(100)
评论(0)
推荐(0)
摘要:
//_DataStructure_C_Impl:链式队列#include#include#define MaxSize 100typedef int DataType;typedef struct QNode{ DataType data; struct QNode *next;}LQNode,... 阅读全文
posted @ 2015-08-06 02:38
_noname
阅读(103)
评论(0)
推荐(0)
浙公网安备 33010602011771号