会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
sand-bule
博客园
首页
新随笔
联系
订阅
管理
2023年12月14日
实验七
摘要: task4 1 #include<stdio.h> 2 3 int main(){ 4 FILE *fp; 5 6 int k = 0; 7 char ch; 8 9 fp = fopen("data4.txt","r"); 10 11 if(fp == NULL) { 12 printf("fai
阅读全文
posted @ 2023-12-14 17:30 sad&bule
阅读(25)
评论(0)
推荐(0)
2023年12月11日
实验6
摘要: task4 1 #include <stdio.h> 2 #define N 10 3 4 typedef struct { 5 char isbn[20]; // isbn号 6 char name[80]; // 书名 7 char author[80]; // 作者 8 double sale
阅读全文
posted @ 2023-12-11 15:55 sad&bule
阅读(25)
评论(0)
推荐(0)
2023年11月27日
实验5
摘要: task1.1 1 #include <stdio.h> 2 #define N 5 3 4 void input(int x[], int n); 5 void output(int x[], int n); 6 void find_min_max(int x[], int n, int *pmi
阅读全文
posted @ 2023-11-27 15:53 sad&bule
阅读(34)
评论(0)
推荐(0)
2023年11月13日
实验4
摘要: taks1 1 #include <stdio.h> 2 #define N 4 3 4 void test1() { 5 int a[N] = {1, 9, 8, 4}; 6 int i; 7 8 // 输出数组a占用的内存字节数 9 printf("sizeof(a) = %d\n", size
阅读全文
posted @ 2023-11-13 15:56 sad&bule
阅读(36)
评论(0)
推荐(0)
2023年10月30日
实验3
摘要: task1 #include <stdio.h> #include <stdlib.h> #include <time.h> #include <windows.h> #define N 80 void print_text(int line, int col, char text[]); // 函
阅读全文
posted @ 2023-10-30 16:25 sad&bule
阅读(31)
评论(0)
推荐(0)
2023年10月16日
task2
摘要: task1 1 #include <stdio.h> 2 #include <stdlib.h> 3 #include <time.h> 4 #define N 5 5 #define N1 374 6 #define N2 465 7 int main() 8 { 9 int number; 10
阅读全文
posted @ 2023-10-16 17:08 sad&bule
阅读(17)
评论(0)
推荐(0)
2023年9月28日
实验一
摘要: 任务1.1代码 1 #include <stdio.h> 2 int main() 3 { 4 printf(" O \n"); 5 printf("<H>\n"); 6 printf("I I\n"); 7 8 printf(" O \n"); 9 printf("<H>\n"); 10 prin
阅读全文
posted @ 2023-09-28 15:21 sad&bule
阅读(19)
评论(0)
推荐(0)
公告