会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
lzq0306
博客园
首页
新随笔
联系
管理
订阅
2022年12月27日
实验6作业
摘要: 实验任务4 #define _CRT_SECURE_NO_WARNINGS #include<stdlib.h> #include<stdio.h> int main() { char ch; int count = 0; FILE* fp; fp = fopen("data4.txt", "r")
阅读全文
posted @ 2022-12-27 15:08 光逸
阅读(48)
评论(0)
推荐(0)
2022年12月26日
实验5作业
摘要: 实验任务1 1.源代码 #include <stdio.h> #include <string.h> #define N 3 typedef struct student { int id; // 学号 char name[20]; // 姓名 char subject[20]; // 考试科目 d
阅读全文
posted @ 2022-12-26 16:28 光逸
阅读(47)
评论(0)
推荐(0)
2022年11月23日
实验4作业
摘要: 实验任务1 源代码 #include<stdio.h> #define N 4 int main() { int a[N] = { 1,9,8,4 }; char b[N] = { '1','9','8','4' }; int i; printf("sizeof(int)=%d\n", sizeof
阅读全文
posted @ 2022-11-23 20:32 光逸
阅读(23)
评论(0)
推荐(0)
2022年11月5日
实验3作业
摘要: task1 源代码 #include<stdio.h> #include<stdlib.h> #include<time.h> #include<windows.h> #define N 80 void print_text(int line, int col, char text[]); void
阅读全文
posted @ 2022-11-05 19:21 光逸
阅读(138)
评论(0)
推荐(0)
2022年10月23日
实验课作业2
摘要: 实验任务-1 源代码 #include<stdio.h> #include<stdlib.h> #include<time.h> #define N 5 int main() { int number; int i; srand(time(0)); for (i = 0; i < N; ++i) {
阅读全文
posted @ 2022-10-23 09:26 光逸
阅读(28)
评论(0)
推荐(0)
公告