摘要:
【TDTX】 【通过文件进行增、删、查、改,在文件中增、删、查、改】 【本微项目的精髓在于在文件写入后再读取时不发生格式错误,并且准确找到每条记录的开头处,返回当前位置】 【本微项目实现了核心的增、删、查、改】 【总共1400余行代码】 【注意】输入数据格式:1到5个字符(敲空格)1个字符(敲空格) 阅读全文
摘要:
【注1】实现了一个自动调整队列在队列空间分布的函数,解决普通数组的静态队列假溢出状态; 【注2】自动调整函数的被动触发:在入队函数调用时(遇到假溢出先调整再入队)、在出队函数调用时(遇到假溢出先调整再出队); 【注3】自动调整函数的主动执行:手动调用自动调整函数Status AutoMemory_Q 阅读全文
摘要:
LinkStackMalloc.h #define NOEXIST -1 #define TRUE 1 #define FALSE 0 #define OK 1 #define ERROR 0 #define INFEASIBLE 1 #define OVERFLOW 1 typedef int S 阅读全文
摘要:
SqStackStatic.h #define MAXSIZE 100 #define NOINIT -1 #define TRUE 1 #define FALSE 0 #define OK 1 #define ERROR 0 #define INFEASIBLE 1 #define OVERFLO 阅读全文
摘要:
SqStackMalloc.h #define STACK_INIT_SIZE 100 #define STACKINCREMENT 10 #define NOEXIST -1 #define TRUE 1 #define FALSE 0 #define OK 1 #define ERROR 0 # 阅读全文
摘要:
SingleLinkListMalloc.h #define NOEXIST -1 #define TRUE 1 #define FALSE 0 #define OK 1 #define ERROR 0 #define INFEASIBLE 1 #define OVERFLOW 1 typedef 阅读全文
摘要:
SingleLinkListStatic.h #define MAXSIZE 1000 #define TRUE 1 #define FALSE 0 #define OK 1 #define ERROR 0 #define INFEASIBLE 1 #define OVERFLOW 1 #defin 阅读全文
摘要:
SqList.h #define ListSize 100 #define TRUE 1 #define FALSE 0 #define OK 1 #define ERROR 0 #define INFEASIBLE 1 #define OVERFLOW 1 typedef int Status; 阅读全文
摘要:
SqList.h #define ListSize 100 #define TRUE 1 #define FALSE 0 #define OK 1 #define ERROR 0 #define INFEASIBLE 1 #define OVERFLOW 1 typedef int Status; 阅读全文
摘要:
【注1】采用函数描点法绘制图像,最后一篇。要实现其他的函数图像使用turtle海龟库绘制,在代码中替换成相应的函数表达式即可。 【注2】采用点动成线的原理绘制,密集的描点即可! 1.SinDot.py import turtle import math turtle.speed(0) turtle. 阅读全文