摘要:
我今天读到几句优美的英语句子,可以用作测试案列
[(To see the world in a strain of sand.),(And a heaven in a wild filower).(Hold the intinity in the palm of your hand.),(And
to hold the eternity in an hour.)]
一沙一世界,一花一天堂。君掌盛无边,刹那成永恒。 阅读全文
摘要:
部分函数在主函数中被注释,主要是为了测试进制转换 阅读全文
摘要:
#include<stdio.h>#include<malloc.h>#define ElemType int typedef struct LinkNode{//定义栈中节点类型 ElemType data; struct LinkNode *next;}LinkNode; typedef str 阅读全文
摘要:
#include<stdio.h>#include<malloc.h>#define MAXSIZE 20#define ElemType inttypedef struct SQtack{//动态顺序存储结构,存储空间随栈的大小变化 ElemType *top,*bottom;//定义栈顶和栈底 阅读全文
摘要:
#include<stdio.h>#include<malloc.h>#define ElemType inttypedef struct ployNode{ int coef,index; struct ployNode *next;}; ployNode *insert_ployNode(plo 阅读全文
摘要:
#include<stdio.h>#include<malloc.h>#define ElemType inttypedef struct DulLNode{ ElemType data; struct DulLNode *lLink,*rLink; //定义双指针, //lLink头指针,rLin 阅读全文
摘要:
#include<stdio.h>#include<malloc.h> typedef struct LinkNode{ int data; struct LinkNode *next;}LinkNode;LinkNode *create_LNode(LinkNode *L){//创建链表,不带特殊 阅读全文
摘要:
void *free_LNode(LNode *head){//节点的释放 LNode *p; for(p=head->next;p;p=head->next){ head->next=p->next; free(p); } free(head); printf("节点释放成功"); } LNode 阅读全文
摘要:
#include<stdio.h>#include<malloc.h>typedef struct LinkNode{ int data; struct LinkNode *next;}LinkNode;LinkNode *create_LNode(LinkNode *L){ LinkNode *n 阅读全文
摘要:
#include<stdio.h> #include<malloc.h> typedef struct LNode { int data; struct LNode *next; }; LNode *Init_LNode() { LNode *head; head=(LNode *)malloc(s 阅读全文