会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
5630w
博客园
首页
新随笔
联系
订阅
管理
2025年6月8日
实验七
摘要: task4 1 #include <stdio.h> 2 #include <stdlib.h> 3 #include <ctype.h> 4 5 int main() { 6 int lineCount = 0; 7 int charCount = 0; 8 char line[81]; 9 FI
阅读全文
posted @ 2025-06-08 23:05 西嘻哈
阅读(13)
评论(0)
推荐(0)
2025年6月2日
实验六
摘要: task4 1 #include <stdio.h> 2 #include <string.h> 3 4 #define N 10 5 6 typedef struct { 7 char isbn[20]; // ISBN号 8 char name[80]; // 书名 9 char author[
阅读全文
posted @ 2025-06-02 21:02 西嘻哈
阅读(9)
评论(0)
推荐(0)
2025年5月18日
实验五
摘要: 5.11 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 *pmin,
阅读全文
posted @ 2025-05-18 16:52 西嘻哈
阅读(19)
评论(0)
推荐(0)
2025年4月20日
实验四
摘要: 4.1 1 #include <stdio.h> 2 #define N 4 3 #define M 2 4 5 void test1() 6 { 7 int x[N] = {1, 9, 8, 4}; 8 int i; 9 10 printf("sizeof(x) = %d\n", sizeof(x
阅读全文
posted @ 2025-04-20 19:12 西嘻哈
阅读(10)
评论(0)
推荐(0)
2025年4月9日
实验三
摘要: 3.1 1 #include<stdlib.h> 2 3 char score_to_grade(int score); // 函数声明 4 5 int main() { 6 int score; 7 char grade; 8 9 while(scanf("%d", &score) != EOF)
阅读全文
posted @ 2025-04-09 17:40 西嘻哈
阅读(11)
评论(0)
推荐(0)
2025年3月23日
实验二
摘要: task1 1 #include <stdio.h> 2 #include <stdlib.h> 3 #include <time.h> 4 5 #define N 5 6 7 int main() { 8 int number; 9 int i; 10 11 srand(time(0)); 12
阅读全文
posted @ 2025-03-23 13:03 西嘻哈
阅读(16)
评论(0)
推荐(0)
2025年3月9日
实验一
摘要: task1 1.1 源代码 1 #include<stdio.h> 2 int main() 3 { 4 printf(" o\n"); 5 printf("<H>\n"); 6 printf("I I\n"); 7 printf(" o\n"); 8 printf("<H>\n"); 9 prin
阅读全文
posted @ 2025-03-09 14:01 西嘻哈
阅读(19)
评论(0)
推荐(0)
公告