会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
z0oz
博客园
首页
新随笔
联系
订阅
管理
2023年12月20日
实验7
摘要: task4 代码 1 #include<stdio.h> 2 3 int main() 4 { 5 FILE *fp; 6 fp=fopen("d:\\data4.txt","r"); 7 if(fp==NULL){ 8 printf("fail to open file.\n"); 9 retur
阅读全文
posted @ 2023-12-20 23:16 z0y
阅读(16)
评论(0)
推荐(0)
2023年12月17日
实验6
摘要: 实验1 代码 1 // P286例8.17 2 // 对教材上的程序作了微调整,把输出学生信息单独编写成一个函数模块 3 // 打印不及格学生信息和所有学生信息程分别调用 4 5 #include <stdio.h> 6 #include <string.h> 7 #define N 3 // 运行
阅读全文
posted @ 2023-12-17 19:18 z0y
阅读(22)
评论(0)
推荐(0)
2023年12月4日
实验五
摘要: 实验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 *pmin
阅读全文
posted @ 2023-12-04 07:18 z0y
阅读(18)
评论(0)
推荐(0)
2023年11月13日
实验4
摘要: 实验1.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 8 printf("sizeof(a) = %d\n",sizeof(a)); 9 10 for (i
阅读全文
posted @ 2023-11-13 17:15 z0y
阅读(17)
评论(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, cha
阅读全文
posted @ 2023-10-30 17:31 z0y
阅读(10)
评论(0)
推荐(0)
2023年10月22日
实验二
摘要: 实验1 代码 1 #include <stdio.h> 2 #include <stdlib.h> 3 #include <time.h> 4 5 #define N 5 6 #define N1 374 7 #define N2 465 8 9 int main() 10 { 11 int num
阅读全文
posted @ 2023-10-22 17:01 z0y
阅读(21)
评论(0)
推荐(0)
2023年10月7日
实验一
摘要: 实验1.1一个小人 代码 1 #include <stdio.h> 2 int main() 3 { 4 printf(" 0\n"); 5 printf("<H>\n"); 6 printf("I I\n"); 7 8 return 0; 9 } 截图 实验1.2两个竖直小人 代码 1 #incl
阅读全文
posted @ 2023-10-07 00:54 z0y
阅读(46)
评论(0)
推荐(0)
公告