12 2024 档案

摘要:task4: #include <stdio.h> int main() { FILE* fp; fp = fopen("data4.txt", "r"); if (fp == NULL) { return -1; } char t; int line_count = 0, char_count = 阅读全文
posted @ 2024-12-26 16:18 jjjrrhhhhh 阅读(25) 评论(0) 推荐(0)
摘要:task1: #include<stdio.h> #include<string.h> #include<stdlib.h> #define N 3 typedef struct student{ int id; char name[20]; char subject[20]; double per 阅读全文
posted @ 2024-12-19 16:03 jjjrrhhhhh 阅读(16) 评论(0) 推荐(0)
摘要:task1_1: 1 #include<stdio.h> 2 #define N 5 3 void input(int x[],int n); 4 void output(int x[],int n); 5 void find_min_max(int x[],int n,int *pmin,int 阅读全文
posted @ 2024-12-08 18:19 jjjrrhhhhh 阅读(14) 评论(0) 推荐(0)