10 2017 档案
摘要:#include #include #include // TODO: 在此处引用程序需要的其他头文件 struct String{ char* ch; int length; }; bool Assign_String(String* str, char* chars); bool Destroy_String(String* str); bool Clear_...
阅读全文
摘要:#include #include #include #define MaxQueueSize 100 // TODO: 在此处引用程序需要的其他头文件 struct Node{ int data; Node* next; }; struct Queue{ Node* front; Node* rear; }; //初始化队列 bool Init_Qu...
阅读全文
摘要:#include #include #include #define MaxQueueSize 100 // TODO: 在此处引用程序需要的其他头文件 struct Queue { int* base; int front;//队头指针 int rear;//队尾指针 }; //初始化队列 bool Init_Queue(Queue* q){ q->...
阅读全文
摘要:#include #include #include #define StackSize 5 #define IncrementSize 5 // TODO: 在此处引用程序需要的其他头文件 struct Stack { int *base; int *top; int stacksize; }; //初始化栈 bool Init_Stack(Stack* s...
阅读全文
摘要:#include "stdafx.h" #include //创建一个节点,data为value,指向NULL Node* Create(int value){ Node* head = (Node*)malloc(sizeof(Node)); head->data = value; head->next = NULL; return head; } //销毁链...
阅读全文
摘要:#include #include #include #define LIST_INIT_SIZE 100 #define LISTINCREMENT 10 // TODO: 在此处引用程序需要的其他头文件 // typedef struct{ int *elem; int length;//当前长度 int listsize;//当前分配的存储容量 }SqList; //新建线性...
阅读全文
浙公网安备 33010602011771号