会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
wr236
博客园
首页
新随笔
联系
订阅
管理
2022年12月28日
实验六
摘要: 1 #include <stdio.h> 2 int main() 3 { 4 FILE* fp; 5 int count=0; 6 char ch; 7 fp=fopen("date4.txt","r"); 8 if(fp==NULL) 9 { 10 printf("fail to open th
阅读全文
posted @ 2022-12-28 16:03 随风守
阅读(22)
评论(0)
推荐(0)
2022年12月24日
实验5
摘要: 1 #include <stdio.h> 2 #include <string.h> 3 #define N 3 4 typedef struct student 5 { 6 int id; 7 char name[20]; 8 char subject[20]; 9 double perf; 10
阅读全文
posted @ 2022-12-24 21:22 随风守
阅读(35)
评论(0)
推荐(0)
2022年11月27日
实验四
摘要: 1 #define _CRT_SECURE_NO_WARNINGS 2 #include<stdio.h> 3 #define N 4 4 int main() 5 { 6 int i; 7 int a[N] = { 1,9,8,4 }; 8 char b[N] = { '1','9','8','4
阅读全文
posted @ 2022-11-27 19:36 随风守
阅读(21)
评论(0)
推荐(0)
2022年11月6日
实验3
摘要: #define _CRT_SECURE_NO_WARNINGS #include<stdio.h> #include<stdlib.h> #include <time.h> #include<windows.h> void print_spaces(int n); void print_blank_
阅读全文
posted @ 2022-11-06 22:29 随风守
阅读(23)
评论(0)
推荐(0)
2022年10月23日
实验2
摘要: #include<stdio.h> #include<stdlib.h> #include<time.h> #include<stdlib.h> #define N 5 int main() { int number,i; srand(time(0)); for(i=0;i<N;++i) { num
阅读全文
posted @ 2022-10-23 23:04 随风守
阅读(22)
评论(0)
推荐(0)
2022年10月13日
实验
摘要: #define _CRT_SECURE_NO_WARNINGS #include<stdio.h> #include<stdlib.h> int main() { printf(" O \n"); printf("<H>\n"); printf("I I\n"); printf("\n"); pri
阅读全文
posted @ 2022-10-13 23:17 随风守
阅读(71)
评论(0)
推荐(0)
公告