会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
u3291193
博客园
首页
新随笔
联系
订阅
管理
2023年12月21日
实验七
摘要: task 4 #include<stdio.h> #include<string.h> int main() { FILE *fp; fp = fopen("data4.txt","r"); if(fp==NULL){ printf("fail to open file\n"); return 1;
阅读全文
posted @ 2023-12-21 15:14 Gustave-Ehsy
阅读(11)
评论(0)
推荐(0)
2023年12月11日
实验6
摘要: #include<stdio.h> #include<string.h> #define N 3 typedef struct student{ int id; char name[20]; char subject[20]; double perf; double mid; double fina
阅读全文
posted @ 2023-12-11 17:29 Gustave-Ehsy
阅读(5)
评论(0)
推荐(0)
2023年11月27日
实验5
摘要: 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 @ 2023-11-27 17:29 Gustave-Ehsy
阅读(8)
评论(0)
推荐(0)
2023年11月13日
实验4
摘要: task1_1 1 #include<stdio.h> 2 #define N 4 3 4 void test1(){ 5 int a[N] = {1,9,8,4}; 6 int i; 7 printf("sieof(a) = %d\n",sizeof(a)); 8 9 for(i = 0;i<N;
阅读全文
posted @ 2023-11-13 17:29 Gustave-Ehsy
阅读(10)
评论(0)
推荐(0)
2023年10月30日
实验3
摘要: 实验1 1 #include<stdio.h> 2 #include<stdlib.h> 3 #include<time.h> 4 #include<windows.h> 5 #define N 80 6 7 void print_text(int line, int col, char text[
阅读全文
posted @ 2023-10-30 17:01 Gustave-Ehsy
阅读(1)
评论(0)
推荐(0)
2023年10月16日
实验2
摘要: 实验2-1 1 #include<stdio.h> 2 #include<stdlib.h> 3 #include<time.h> 4 #include<math.h> 5 6 #define N 5 7 #define N1 374 8 #define N2 465 9 10 int main()
阅读全文
posted @ 2023-10-16 17:28 Gustave-Ehsy
阅读(4)
评论(0)
推荐(0)
2023年9月28日
实验
摘要: 1 //打印一个小人 2 #include<stdio.h> 3 int main() 4 { 5 printf(" 0 \n"); 6 printf("<H>\n"); 7 printf("I I\n"); 8 return 0; 9 } 1 #include<stdio.h> 2 int mai
阅读全文
posted @ 2023-09-28 14:40 Gustave-Ehsy
阅读(5)
评论(0)
推荐(0)
公告
点击右上角即可分享