会员
周边
新闻
博问
AI培训
云市场
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
hi!
博客园
首页
新随笔
联系
订阅
管理
2023年12月16日
实验7_文件应用编程
摘要: task4 #define _CRT_SECURE_NO_WARNINGS #include<stdio.h> #include<stdlib.h> int main() { FILE* fp; char ch; int cnt = 0; fp = fopen("data4.txt", "r");
阅读全文
posted @ 2023-12-16 15:05 姚润勰
阅读(8)
评论(0)
推荐(0)
编辑
2023年12月11日
实验6_c语言结构体、枚举应用编程
摘要: task4 #define _CRT_SECURE_NO_WARNINGS #include<stdio.h> #define N 10 typedef struct { char isbn[20]; char name[80]; char author[80]; double sales_pric
阅读全文
posted @ 2023-12-11 17:20 姚润勰
阅读(2)
评论(0)
推荐(0)
编辑
2023年11月27日
实验5_c语言指针应用编程
摘要: task1_1 #define _CRT_SECURE_NO_WARNINGS #include<stdio.h> #define N 5 void input(int x[], int n); void output(int x[], int n); void find_min_max(int x
阅读全文
posted @ 2023-11-27 18:35 姚润勰
阅读(10)
评论(0)
推荐(0)
编辑
2023年11月17日
实验4 C语言数组应用编程
摘要: task1_1 #include<stdio.h> #define N 4 void test1() { int a[N] = { 1,9,8,4 }; int i; printf("sizeof(a)=%d\n", sizeof(a)); for (i = 0; i < N; i++) print
阅读全文
posted @ 2023-11-17 19:59 姚润勰
阅读(2)
评论(0)
推荐(0)
编辑
2023年11月1日
实验3_c语言函数应用编程
摘要: 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 pri
阅读全文
posted @ 2023-11-01 11:20 姚润勰
阅读(10)
评论(0)
推荐(0)
编辑
2023年10月16日
实验2——c语言分支与循环基础应用编程
摘要: task1 #include<stdio.h> #include<stdlib.h> #include<time.h> #define N 5 #define N1 374 #define N2 465 int main() { int number; int i; srand(time(0));
阅读全文
posted @ 2023-10-16 23:59 姚润勰
阅读(17)
评论(0)
推荐(0)
编辑
2023年10月5日
实验1_c语言输入输出和简单程序应用编程
摘要: 实验一 1-1 #include <stdio.h> int main() { printf(" O \n"); printf("<H>\n"); printf("I I\n"); printf(" O \n"); printf("<H>\n"); printf("I I\n"); return 0
阅读全文
posted @ 2023-10-05 11:39 姚润勰
阅读(19)
评论(0)
推荐(0)
编辑
公告