2026年6月23日
摘要:
task4 源代码 #include<stdio.h> #include<stdlib.h> int main(){ FILE *fp; int i,n=0,ch; int lines=0; int newchar='\0'; fp=fopen("data4.txt","r"); if(fp==NU
阅读全文
posted @ 2026-06-23 20:53
tyuijnbgrewq
阅读(7)
推荐(0)
2026年6月15日
摘要:
task4 源代码 #define _CRT_SECURE_NO_WARNINGS #include <stdio.h> #include<stdlib.h> #define N 10 typedef struct { char isbn[20]; // isbn号 char name[80]; /
阅读全文
posted @ 2026-06-15 19:26
tyuijnbgrewq
阅读(6)
推荐(0)
2026年6月2日
摘要:
task1_1 源代码 #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 @ 2026-06-02 16:43
tyuijnbgrewq
阅读(10)
推荐(0)
2026年5月5日
摘要:
task1 源代码 #include <stdio.h> #define N 4 #define M 2 void test1() { int x[N] = { 1, 9, 8, 4 }; int i; // 输出数组x占用的内存字节数 printf("sizeof(x) = %d\n", size
阅读全文
posted @ 2026-05-05 16:11
tyuijnbgrewq
阅读(6)
推荐(0)
2026年4月20日
摘要:
task1 源代码 #include <stdio.h> char score_to_grade(int score); // 函数声明 int main() { int score; char grade; while(scanf("%d", &score) != EOF) { grade = s
阅读全文
posted @ 2026-04-20 17:31
tyuijnbgrewq
阅读(13)
推荐(0)
2026年4月7日
摘要:
task1 源代码 #include <stdio.h> #include <stdlib.h> #include <time.h> #define N 5 int main() { int number; int i; srand(time(0)); // 以当前系统时间作为随机种子 for (i
阅读全文
posted @ 2026-04-07 16:37
tyuijnbgrewq
阅读(8)
推荐(0)
2026年3月21日
摘要:
1.实验任务1 task1_1.c 源代码 #include <stdio.h> int main() { printf(" O \n"); printf("<H>\n"); printf("I I\n"); printf(" O \n"); printf("<H>\n"); printf("I I
阅读全文
posted @ 2026-03-21 20:43
tyuijnbgrewq
阅读(13)
推荐(0)
2026年3月18日
摘要:
https://www.cnblogs.com/tyuijnbgrewq
阅读全文
posted @ 2026-03-18 11:42
tyuijnbgrewq
阅读(51)
推荐(0)