c语言
IQcoder
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
《数据结构第五版》李春葆 单链表基本运算算法
//单链表基本运算算法 #include <stdio.h> #include <malloc.h> typedef int ElemType; typedef struct LNode { ElemType data; struct LNode *next; //指向后继结点 } LinkNode; //声明单链表结点类型 void CreateList...原创 2020-05-03 16:53:14 · 818 阅读 · 0 评论 -
单链表基本运算算法
//单链表基本运算算法 #include <stdio.h> #include <malloc.h> typedef int ElemType; typedef struct LNode { ElemType data; struct LNode *next; //指向后继结点 } LinkNode; //声明单链表结点类型 void CreateList...原创 2020-04-29 20:27:06 · 817 阅读 · 0 评论 -
c语言贪吃蛇游戏(可运行)控制台界面
#include<stdio.h> #include<time.h> #include<windows.h> #include<stdlib.h> #define U 1 #define D 2 #define L 3 #define R 4 //蛇的状态,U:上 ;D:下;L:左 R:右 typedef struct SNAKE ...原创 2020-05-03 16:53:19 · 542 阅读 · 0 评论 -
数据结构循环单链表代码算法
//循环单链表基本运算算法 #include <stdio.h> #include <malloc.h> typedef struct LNode //定义单链表结点类型 { char data; struct LNode *next; } LinkNode; void CreateListF(LinkNode *&L,char a[],int n) /...原创 2020-04-29 20:26:29 · 471 阅读 · 0 评论 -
深度优先遍历(邻接矩阵)
#include<stdio.h> #include<stdlib.h> #define MAXVEX 100 /*最大顶点数*/ #define INFINITY 65535 /*用65535来代表∞*/ typedef char VertexType; /*顶点*/ typedef int EdgeType; /*权值*/ typedef...原创 2020-04-29 20:22:39 · 2454 阅读 · 0 评论 -
c语言个人信息管理系统
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <conio.h> typedef struct student { char id[20];//学号 char name[10];//姓名 char sex[10];//性别 char bothdate[...原创 2020-05-03 16:53:26 · 1151 阅读 · 0 评论 -
C语言课程设计---学生信息管理系统
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <conio.h> typedef struct student { char id[20];//学号 char name[10];//姓名 char sex[10];//性别 char bothd...原创 2020-04-29 20:22:26 · 1759 阅读 · 0 评论 -
《计算方法与实习》 c语言与python分别实现二分法求方程的根
《计算方法与实习》 c语言实现二分法求方程的根 c语言实现 #include<stdio.h> #include<math.h> #define eps 5e-6 #define delta 1e-6 float Biseection(float a,float b,float(*f)(float)){ float c,fc,fa=(*f)(a),fb=(*f)(b); i...原创 2020-05-03 16:54:39 · 375 阅读 · 0 评论 -
史上最完整的和课本最接近的《操作系统》第四版银行家算法实验
史上最完整的和课本最接近的《操作系统》第四版银行家算法实验 #include "string.h" #include "iostream" using namespace std; #define FALSE 0 #define TRUE 1 #define W 5 #define R 4 void Menu1() { //菜单界面 cout << " --...原创 2020-05-03 16:54:46 · 304 阅读 · 0 评论
分享