12 2019 档案
摘要:验证性实验二:更改之后,程序依旧可以运行 part2: #include <stdio.h> #include <stdlib.h> #include <string.h> const int N = 10; // 定义结构体类型struct student,并定义其别名为STU typedef s
阅读全文
摘要:第一个程序: #include <stdio.h> #include <stdlib.h> const int N=5; // 定义结构体类型struct student,并定义STU为其别名 typedef struct student { long no; char name[20]; int
阅读全文
摘要:// 练习:使用二分查找,在一组有序元素中查找数据项 // 形参是数组,实参是数组名 #include<stdio.h> #include <stdlib.h> const int N=5; int binarySearch(int x[], int n, int item); // 函数声明 in
阅读全文
浙公网安备 33010602011771号