会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
ccoocc
博客园
首页
新随笔
联系
订阅
管理
2023年12月21日
实验7
摘要: 任务四 1 #include <stdio.h> 2 #include <ctype.h> 3 4 int main() { 5 FILE *file; 6 int count = 0; 7 int ch; 8 9 file = fopen("data4.txt", "r"); 10 if (fil
阅读全文
posted @ 2023-12-21 13:57 飘窗的轩
阅读(10)
评论(0)
推荐(0)
2023年12月11日
实验6
摘要: 任务1 1 // P286例8.17 2 // 对教材上的程序作了微调整,把输出学生信息单独编写成一个函数模块 3 // 打印不及格学生信息和所有学生信息程分别调用 4 5 #include <stdio.h> 6 #include <string.h> 7 #define N 3 // 运行程序输
阅读全文
posted @ 2023-12-11 16:56 飘窗的轩
阅读(13)
评论(0)
推荐(0)
2023年11月27日
实验5
摘要: 任务1 #include <stdio.h> #define N 5 void input(int x[], int n); void output(int x[], int n); void find_min_max(int x[], int n, int *pmin, int *pmax); i
阅读全文
posted @ 2023-11-27 17:30 飘窗的轩
阅读(10)
评论(0)
推荐(0)
2023年11月13日
实验4
摘要: 任务1 1. int型数组a,在内存中是连续存放的,每个元素占用4个内存字节单元,数组名a对应的值,和&a[0]一样2. char型数组b,在内存中是连续存放的,每个元素占用1个内存字节单元,数组名b对应的值,和&b[0]一样 3. int型二维数组a,在内存中按行连续存放,每个元素占用4个内存字节
阅读全文
posted @ 2023-11-13 17:30 飘窗的轩
阅读(23)
评论(0)
推荐(0)
2023年10月30日
实验3
摘要: 任务1 源代码 1 #include <stdio.h> 2 #include <stdlib.h> 3 #include <time.h> 4 #include <windows.h> 5 #define N 80 6 void print_text(int line, int col, char
阅读全文
posted @ 2023-10-30 17:28 飘窗的轩
阅读(20)
评论(0)
推荐(0)
2023年10月16日
实验2
摘要: 实验2 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 nu
阅读全文
posted @ 2023-10-16 18:06 飘窗的轩
阅读(9)
评论(0)
推荐(0)
2023年9月28日
实验1
该文被密码保护。
阅读全文
posted @ 2023-09-28 14:52 飘窗的轩
阅读(0)
评论(0)
推荐(0)
公告