会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
waterwhy
博客园
首页
新随笔
联系
订阅
管理
2022年12月24日
实验6
摘要: 4. 实验任务4:文件简单应用 #define _CRT_SECURE_NO_WARNINGS #include<stdio.h> #include<stdlib.h> int main() { FILE* fp; char ch; int count=0; fp = fopen("E:\\stud
阅读全文
posted @ 2022-12-24 13:31 不想歪七七
阅读(29)
评论(0)
推荐(0)
2022年12月21日
实验5
摘要: 1. 实验任务1 #define _CRT_SECURE_NO_WARNINGS #include<stdio.h> #include<stdlib.h> #include<string.h> #define N 3 typedef struct student{ int id; char name
阅读全文
posted @ 2022-12-21 09:46 不想歪七七
阅读(17)
评论(0)
推荐(0)
2022年11月23日
作业4
摘要: 1. 实验任务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(in
阅读全文
posted @ 2022-11-23 14:44 不想歪七七
阅读(24)
评论(0)
推荐(0)
2022年11月3日
作业3
摘要: 1.任务1 #include<stdio.h> #include<stdlib.h> #include<time.h> #include<windows.h> #define N 80 void print_text(int line, int col, char test[]); void pri
阅读全文
posted @ 2022-11-03 19:46 不想歪七七
阅读(73)
评论(0)
推荐(0)
2022年10月19日
作业2
摘要: 1. 实验任务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) { n
阅读全文
posted @ 2022-10-19 16:59 不想歪七七
阅读(41)
评论(0)
推荐(0)
2022年10月13日
作业
摘要: 1.打印一个字符小人 #include<stdio.h> int main() { printf(" O\t O\n"); printf("<H>\t<H>\n"); printf("I I\tI I\n"); return 0; } 2.现摄氏度温度C与华氏度温度F的转换 #include<std
阅读全文
posted @ 2022-10-13 12:56 不想歪七七
阅读(32)
评论(0)
推荐(0)
2022年10月12日
作业
摘要: 1.打印一个字符小人 #include<stdio.h> int main() { printf(" O\t O\n"); printf("<H>\t<H>\n"); printf("I I\tI I\n"); return 0; } 2.现摄氏度温度C与华氏度温度F的转换 #include<std
阅读全文
posted @ 2022-10-12 09:37 不想歪七七
阅读(236)
评论(0)
推荐(0)
公告