12 2019 档案
摘要:Part1:验证性实验 验证性实验2 正确 对比:二进制文件以二进制的方式存储,节省空间 文本文件解释格式为ASCLL编码,只能存储字符 #include <stdio.h> #include <stdlib.h> #define N 10 typedef struct student { int
阅读全文
摘要:实验结论 part 1 ex1_2.cpp #include <stdio.h> #include <stdlib.h> const int N=5; // 定义结构体类型struct student,并定义STU为其别名 typedef struct student { long no; char
阅读全文
摘要:实验结论 part 1 结论:指向数组的指针为 *p[n] 指向一维数组的指针为 (*p)[n] 答案:ACE part 2 ex2_1_1.cpp // 练习:使用二分查找,在一组有序元素中查找数据项 // 形参是数组,实参是数组名 #include <stdio.h> #include <std
阅读全文

浙公网安备 33010602011771号