会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
PlanetE1151494055
博客园
首页
新随笔
联系
订阅
管理
2023年6月8日
实验七
摘要: 实验任务四 #include <stdio.h> int main() { FILE *file; char filename[100]; char ch; int count = 0; file = fopen("data4.txt", "r"); if (file == NULL) { prin
阅读全文
posted @ 2023-06-08 22:55 邢馨奕
阅读(22)
评论(0)
推荐(0)
2023年5月25日
实验六
摘要: 实验任务一 #include <stdio.h> #include <string.h> #define N 10 // 运行程序输入测试时,可以把这个数组改小一些输入测试 typedef struct student { int id; // 学号 char name[20]; // 姓名 cha
阅读全文
posted @ 2023-05-25 17:15 邢馨奕
阅读(26)
评论(0)
推荐(0)
实验五
摘要: #include<stdio.h> #include<stdlib.h> #define N 4 int main() { int x[N]={1,9,8,4}; int i; int *p; for(i=0;i<N;++i) printf("%d",x[i]); printf("\n"); //方
阅读全文
posted @ 2023-05-25 15:53 邢馨奕
阅读(18)
评论(0)
推荐(0)
2023年4月20日
实验四
摘要: #include <stdio.h> #define N 4 int main() { int a[N] = {2, 0, 2, 3}; char b[N] = {'2', '0', '2', '3'}; int i; printf("sizeof(int) = %d\n", sizeof(int)
阅读全文
posted @ 2023-04-20 14:04 邢馨奕
阅读(19)
评论(0)
推荐(0)
2023年4月6日
实验三
摘要: 实验任务一 #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 @ 2023-04-06 08:18 邢馨奕
阅读(32)
评论(0)
推荐(0)
2023年3月23日
实验二
摘要: 实验任务1 task1.c源代码 #include<stdio.h> #include<stdlib.h> #include<time.h> #define N 5 #define R1 586 #define R2 701 int main() { int number; int i; srand
阅读全文
posted @ 2023-03-23 08:47 邢馨奕
阅读(19)
评论(0)
推荐(0)
2023年3月2日
实验1
摘要: 实验任务一 源代码task1_1.c #include<stdio.h> int main() { printf(" O\n"); printf("<H>\n"); printf("I I \n"); printf(" O\n"); printf("<H>\n"); printf("I I \n")
阅读全文
posted @ 2023-03-02 20:59 邢馨奕
阅读(25)
评论(0)
推荐(0)
公告