会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
zxy2004
博客园
首页
新随笔
联系
订阅
管理
2023年12月17日
实验7_文件应用编程
摘要: 4.task_4 1 #include <stdio.h> 2 #include <string.h> 3 #define N 10000 4 5 int main() 6 { 7 int count,i,t=0; 8 char x[N]; 9 FILE *fp; 10 fp=fopen("D:\\
阅读全文
posted @ 2023-12-17 19:16 zxy溢
阅读(90)
评论(0)
推荐(0)
2023年12月14日
实验6_C语言结构体、枚举应用编程
摘要: 4.task_4 1 #include <stdio.h> 2 #define N 10 3 4 typedef struct { 5 char isbn[20]; 6 char name[80]; 7 char author[80]; 8 double sales_price; 9 int sal
阅读全文
posted @ 2023-12-14 19:54 zxy溢
阅读(88)
评论(0)
推荐(0)
2023年11月27日
实验5_C语言指针应用编程
摘要: 1.task_1 (1) 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
阅读全文
posted @ 2023-11-27 18:45 zxy溢
阅读(23)
评论(0)
推荐(0)
2023年11月17日
实验4_C语言数组应用编程
摘要: 1.task_1 (1) 1 #include <stdio.h> 2 #define N 4 3 4 void test1() 5 { 6 int a[N]={1,9,8,4}; 7 int i; 8 printf("sizeof(a)=%d\n",sizeof(a)); 9 for (i=0;i
阅读全文
posted @ 2023-11-17 16:22 zxy溢
阅读(32)
评论(0)
推荐(0)
2023年10月30日
实验3_C语言函数应用编程
摘要: 1.task_1 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,cha
阅读全文
posted @ 2023-10-30 19:01 zxy溢
阅读(26)
评论(0)
推荐(0)
2023年10月16日
实验2_C语言分支与循环基础应用编程
摘要: 1.task_1 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 9 int main() 10 { 11 int n
阅读全文
posted @ 2023-10-16 19:31 zxy溢
阅读(40)
评论(0)
推荐(0)
2023年10月3日
实验1 C语言输入输出和简单程序编写
摘要: 1.task.1 1 #include <stdio.h> 2 int main() 3 { 4 printf(" O \n"); 5 printf("<H>\n"); 6 printf("I I\n"); 7 8 return 0; 9 } task.1_1 1 #include <stdio.h
阅读全文
posted @ 2023-10-03 16:09 zxy溢
阅读(150)
评论(0)
推荐(0)
公告