0e82216

导航

2025年12月30日 #

实验七

摘要: task4 点击查看代码 #include<stdio.h> #define N 100 int main() { FILE *fp; int i=0,num=0,k,j; char s[N][N]; fp=fopen("data4.txt","r"); if(fp==NULL) { printf( 阅读全文

posted @ 2025-12-30 21:20 一条小鲫鱼吖 阅读(5) 评论(1) 推荐(0)

2025年12月25日 #

实验六

摘要: task4 点击查看代码 #include <stdio.h> #include <string.h> #define N 10 typedef struct { char isbn[20]; // isbn号 char name[80]; // 书名 char author[80]; // 作者 阅读全文

posted @ 2025-12-25 23:06 一条小鲫鱼吖 阅读(9) 评论(1) 推荐(0)

2025年12月9日 #

实验五

摘要: task1 点击查看代码 #include <stdio.h> #define N 5 void input(int x[], int n); void output(int x[], int n); void find_min_max(int x[], int n, int *pmin, int 阅读全文

posted @ 2025-12-09 19:57 一条小鲫鱼吖 阅读(7) 评论(1) 推荐(0)

2025年11月16日 #

实验四

摘要: task1 1.是的;相同 2.不是;相同;十六字节;c语言中地址使用十六进制表示,二维数组x在内存中存放时行与行之间存在空间 点击查看代码 #include <stdio.h> #define N 4 #define M 2 void test1() { int x[N] = {1, 9, 8, 阅读全文

posted @ 2025-11-16 23:02 一条小鲫鱼吖 阅读(20) 评论(1) 推荐(0)

2025年10月28日 #

实验3

摘要: task1 点击查看代码 #include <stdio.h> char score_to_grade(int score); int main() { int score; char grade; while(scanf("%d", &score) != EOF) { grade = score_ 阅读全文

posted @ 2025-10-28 21:11 一条小鲫鱼吖 阅读(6) 评论(1) 推荐(0)

2025年10月14日 #

实验2

摘要: task1 点击查看代码 #include <stdio.h> #include <stdlib.h> #include <time.h> #define N 5 #define N1 80 #define N2 35 int main() { int cnt; int random_major,r 阅读全文

posted @ 2025-10-14 21:53 一条小鲫鱼吖 阅读(12) 评论(1) 推荐(0)

2025年10月8日 #

实验一

摘要: TASK1 #include <stdio.h>int main(){ printf(" o \n"); printf("<H>\n"); printf("I I\n"); return 0;} TASK1_1 #include <stdio.h>int main(){ printf(" o \n" 阅读全文

posted @ 2025-10-08 23:00 一条小鲫鱼吖 阅读(12) 评论(1) 推荐(0)