会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
cwc6276
博客园
首页
新随笔
联系
订阅
管理
2023年12月21日
实验七
摘要: 任务四 1 #include<stdio.h> 2 int main() 3 { 4 char a; 5 int count=0; 6 FILE *fp; 7 fp = fopen("data4.txt","r"); 8 if(fp==NULL) { 9 printf("fail to open\n
阅读全文
posted @ 2023-12-21 17:00 蔡文灿
阅读(2)
评论(0)
推荐(0)
2023年12月17日
实验六
摘要: 任务四 1 #include <stdio.h> 2 #define N 10 3 4 typedef struct { 5 char isbn[20]; // isbn号 6 char name[80]; // 书名 7 char author[80]; // 作者 8 double sales_
阅读全文
posted @ 2023-12-17 20:07 蔡文灿
阅读(7)
评论(0)
推荐(0)
2023年12月3日
实验五
摘要: 任务一 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,int *pm
阅读全文
posted @ 2023-12-03 19:08 蔡文灿
阅读(7)
评论(0)
推荐(0)
2023年11月19日
实验四
摘要: 任务一截图 任务二 1 #include<stdio.h> 2 #include<string.h> 3 4 #define N 80 5 6 void swap_str(char s1[N],char s2[N]); 7 void test1(); 8 void test2(); 9 10 int
阅读全文
posted @ 2023-11-19 21:45 蔡文灿
阅读(8)
评论(0)
推荐(0)
2023年11月5日
实验三
摘要: 实验一 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,char text[])
阅读全文
posted @ 2023-11-05 19:48 蔡文灿
阅读(7)
评论(0)
推荐(0)
2023年10月19日
实验二
摘要: 实验一 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 int main() 9 { 10 int number; 11 i
阅读全文
posted @ 2023-10-19 19:16 蔡文灿
阅读(5)
评论(0)
推荐(0)
2023年9月30日
实验一 C语言输入输出和简单程序编写
摘要: 实验任务一 1 #include<stdio.h> 2 #include<stdlib.h> 3 int main() 4 { 5 printf(" 0 \n"); 6 printf("<H>\n"); 7 printf("| |\n"); 8 printf(" 0 \n"); 9 printf("
阅读全文
posted @ 2023-09-30 23:43 蔡文灿
阅读(54)
评论(0)
推荐(0)
公告
点击右上角即可分享