会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
lmbjyx
博客园
首页
新随笔
联系
订阅
管理
2024年6月21日
实验七
摘要: task4 #include <stdio.h> #include <ctype.h> int main() { char filename[100]; FILE *file; int ch; int count = 0; printf("请输入要统计字符数的文件名: "); scanf("%s",
阅读全文
posted @ 2024-06-21 15:18 東京不下雪
阅读(17)
评论(0)
推荐(0)
2024年6月10日
实验六
摘要: task4 #include <stdio.h> #define N 10 typedef struct { char isbn[20]; // isbn号 char name[80]; // 书名 char author[80]; // 作者 double sales_price; // 售价 i
阅读全文
posted @ 2024-06-10 11:14 東京不下雪
阅读(10)
评论(0)
推荐(0)
2024年5月26日
实验五
摘要: 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 *pmax
阅读全文
posted @ 2024-05-26 21:48 東京不下雪
阅读(38)
评论(0)
推荐(0)
2024年5月19日
实验四
摘要: task1_1. #include <stdio.h> #define N 4 void test1() { int a[N] = {1, 9, 8, 4}; int i; // 输出数组a占用的内存字节数 printf("sizeof(a) = %d\n", sizeof(a)); // 输出in
阅读全文
posted @ 2024-05-19 23:58 東京不下雪
阅读(20)
评论(0)
推荐(0)
2024年4月28日
实验三
摘要: 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 @ 2024-04-28 17:34 東京不下雪
阅读(18)
评论(0)
推荐(0)
2024年4月14日
实验2
摘要: task1 #include <stdio.h> #include <stdlib.h> #include <time.h> #define N 5 int main() { int number; int i; srand( time(0) );// 以当前系统时间作为随机种子 for(i = 0
阅读全文
posted @ 2024-04-14 22:13 東京不下雪
阅读(9)
评论(0)
推荐(0)
2024年3月17日
实验1
摘要: #include<stdio.h> #include<stdlib.h> int main() { printf(" o\n"); printf("<H>\n"); printf("I I\n"); printf(" o\n"); printf("<H>\n"); printf("I I\n");
阅读全文
posted @ 2024-03-17 21:31 東京不下雪
阅读(24)
评论(0)
推荐(0)
公告