- 博客(5)
- 收藏
- 关注
原创 食品管理系统
#include<stdio.h> #include<math.h> #include<stdlib.h> typedef struct{ int id; //食品编号 char name[100]; //食品名称 int tem_a; // 温度系数a double tem_b; //温度系数b int now_temperature; //当前温度 double v;
2021-12-10 20:25:09
701
原创 关于java.nio.BufferOverflowException问题
java.nio.BufferOverflowException问题 public static void main(String[] args) throws Exception { //创建一个输出流 FileOutputStream fileOutputStream = new FileOutputStream("1.txt"); //得到一个管道 FileChannel channel = fileOutputStream.getCha
2021-10-07 20:53:16
5955
原创 关于二分算法
声明:关于二分算法一直无法理解,直到看了某大佬的模板,令我醍醐灌顶,感谢张佬! 先上代码 #include<bits/stdc++.h> using namespace std; const int N=1e6+10; //数组大小,由题进行赋值,+10可以防止数组越界 int a[N]; int main() { int m,n; scanf("%d %d",&m,&n); for(int i=0;i<m;i++)scanf("%d"
2021-03-29 19:09:18
236
2
原创 链表->学生管理系统2.0
看了三天视频,终于明白了链表的三个循环。继续加油!!! 在这里插入代码片#include<stdio.h> #include<stdlib.h> #include<string.h> #include<conio.h> struct student { int banji; //班级 char name[15]; int num; //学号 double chengji[5]; double sum; //总分
2020-11-21 22:32:40
248
原创 闲着无聊,写一个代码开心开心
初学c语言,有许多问题没有解决,在算法方面更是一团糟,因为知识储备太少,所以差不多只能写这简单的代码;指针和结构体不能灵活运用,使我十分苦恼。恳请大神给予建议,一定虚心接受!!!! #include<stdio.h> #include<stdlib.h> #include<string.h> logon(){ printf("\n\n\n\n\txxx\n"); printf("\t我喜欢你\n"); printf("\t做我女朋友吧\n"); print
2020-11-18 16:47:12
2321
6
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅