会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
deepsigh
博客园
首页
新随笔
联系
订阅
管理
2025年12月28日
实验七
摘要: 实验4: 1 #define _CRT_SECURE_NO_WARNINGS 2 #include<stdio.h> 3 #define N 500 4 int main() { 5 FILE* fp; 6 char ch; 7 int s=0, m=0; 8 fp = fopen("C:\\Use
阅读全文
posted @ 2025-12-28 12:37 deepsigh
阅读(13)
评论(1)
推荐(0)
2025年12月22日
实验六
摘要: 实验1: 1 #include<stdio.h> 2 #include<string.h> 3 #include<stdlib.h> 4 #define N 3 5 typedef struct student{ 6 int id; 7 char name[20]; 8 char subject[2
阅读全文
posted @ 2025-12-22 23:49 deepsigh
阅读(11)
评论(1)
推荐(0)
2025年12月9日
实验五
摘要: 实验8: 1 #include <stdio.h> 2 #include<string.h> 3 void sort(int n,char *x[]); 4 int main(int argc, char *argv[]) { 5 int i; 6 sort(argc-1,argv+1); 7 fo
阅读全文
posted @ 2025-12-09 10:59 deepsigh
阅读(11)
评论(1)
推荐(0)
2025年11月15日
实验四
摘要: 实验1 1 #define _CRT_SECURE_NO_WARNINGS 2 #include<stdio.h> 3 #define N 4 4 #define M 2 5 void test1() { 6 int x[N] = { 1,9,8,4 }; 7 int i; 8 printf("si
阅读全文
posted @ 2025-11-15 16:08 deepsigh
阅读(19)
评论(1)
推荐(0)
2025年10月24日
实验三
摘要: /*实验1*/ 1 #include<stdio.h> 2 char score_to_grade(int score); 3 int main(){ 4 int score; 5 char grade; 6 while(scanf("%d",&score)!=EOF){ 7 grade=score
阅读全文
posted @ 2025-10-24 15:06 deepsigh
阅读(12)
评论(1)
推荐(0)
2025年10月14日
实验二
摘要: 程序1 1 #define _CRT_SECURE_NO_WARNINGS 2 #include <stdio.h> 3 #include <stdlib.h> 4 #include <time.h> 5 #define N 5 6 #define N1 80 7 #define N2 35 8 i
阅读全文
posted @ 2025-10-14 13:51 deepsigh
阅读(11)
评论(1)
推荐(0)
2025年9月26日
实验1
摘要: 实验1(1) 1 #include <stdio.h> 2 #include<stdlib.h> 3 int main() 4 { 5 printf(" O \n"); 6 printf("<H>\n"); 7 printf("I I\n"); 8 printf(" O \n"); 9 printf
阅读全文
posted @ 2025-09-26 20:34 deepsigh
阅读(21)
评论(1)
推荐(0)
公告