- 博客(4)
- 收藏
- 关注
原创 医院就诊系统(C++队列)源代码
新手上路,注意车速,多多指教,共同进步#include#include#include<stdlib.h>#include<stdio.h>using namespace std;typedef int ElemType;struct LNode{ElemType data;//值域LNode* next;//链接指针域};struct LinkQueue{LNode* front;//队首指针LNode* rear;//队尾指针};//1.初始化队列
2020-06-22 18:35:14
3597
原创 极简进制转换器
//输入一个整数,能求出其二进制,八进制等等#include <stdio.h>int getOctNum(char *pstr){int i, num = 0;for(i = 0; i < 3; ++i){ num *= 2; num += pstr[i] - '0';}return num;}int main(){int num = -345, n;char bin[32];char *p = (char *)#in
2020-06-22 18:28:27
163
原创 学生成绩管理系统V2.0(单链表LinkNode)
#includeusing namespace std;struct Node;typedef struct Node* PNode;struct Node{long int stuId;char name[30];//成绩float Math;float English;float Chinese;float sum;//总分PNode link;};typedef struct Node* LinkList;//输入学生信息LinkList Input(LinkLis
2020-06-22 18:23:46
422
原创 学生成绩管理系统V1.0(顺序表SqList)
#include <stdio.h>#include <stdlib.h>#include <conio.h>typedef struct tagStudent{char szName[10]; //姓名int nAge; //性别int nStuNum; //学号int nScore; //成绩}Student;typedef struct tagNode{Student stu; //学生信息struct tagNode* pNext; //
2020-06-22 18:20:12
633
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅