part1:正确 文本文件可以看,二进制文件看不懂。 part2: #include <stdio.h> #include <stdlib.h> #include <string.h> const int N = 10; // 定义结构体类型struct student,并定义其别名为STU typ ...
分类:
其他好文 时间:
2019-12-29 10:45:40
阅读次数:
57
xml文件的添加: XmlDocument doc = new XmlDocument(); //首先判断文件是否存在,如果存在则追加否则在创建一个 if (File.Exists("Student.xml")) { //加载 doc.Load("Student.xml"); //获取根节点,给根节 ...
分类:
其他好文 时间:
2019-12-28 22:55:48
阅读次数:
94
part1 ex1-2 如果不知道人数 将for(i=0; i<N; i++) 改为 while( !feof(fp) 结果仍然正确 ex1-3 运行程序,观察在屏幕上是否正确输出了按分数高到底排序的信息?同时,在当前路径下,是否生成了二进制 文件?le4.dat?用记事本程序尝试打开文件?le4. ...
分类:
其他好文 时间:
2019-12-28 21:13:22
阅读次数:
71
Project Case Study – Semester 3NIITTitle: Quiz Management System:OnlineTrainingHub is a training company. It trains thousands of student across multip ...
分类:
其他好文 时间:
2019-12-28 21:02:08
阅读次数:
83
Part1 结果正确 区别: 二进制文件需要特别的解码器,文本文件可以读写。 #include <stdio.h> #include <stdlib.h> #define N 10 typedef struct student { int num; char name[20]; int score; ...
分类:
其他好文 时间:
2019-12-28 19:28:28
阅读次数:
89
一、类 1、对同一类事物抽象的描述,抽象的概念 2、定义类的语法: class 关键字——命名规则:大驼峰StudentInfo; (小驼峰studentInfo) class 类名: pass 3、属性: 理解为用于描述类名词 (名字, 年龄, 颜色, 身高,...) 4、方法: 也叫做函数, 理 ...
分类:
编程语言 时间:
2019-12-28 16:01:43
阅读次数:
86
#include <stdio.h> #include <stdlib.h> #include <string.h> const int N = 10; // 定义结构体类型struct student,并定义其别名为STU typedef struct student { long int id; ...
分类:
其他好文 时间:
2019-12-28 00:04:21
阅读次数:
113
一:数据类型 1. 数字类型 2. 字符类型 3. 枚举类型 4. 时间类型 二: 数据属性(约束) not null:非空 primary key:主键(数据不能重复,并且不能为空) unique key:唯一键(数据不能重复,但是可以为空) unique key + not null = pri ...
分类:
数据库 时间:
2019-12-27 22:03:54
阅读次数:
138
#include <stdio.h> #include <stdlib.h> #include <string.h> const int N = 10; // 定义结构体类型struct student,并定义其别名为STU typedef struct student { long int id; ...
分类:
其他好文 时间:
2019-12-27 21:52:22
阅读次数:
63
#include <stdio.h> #include <stdlib.h> #include <string.h> const int N = 10; // 定义结构体类型struct student,并定义其别名为STU typedef struct student { long int id; ...
分类:
其他好文 时间:
2019-12-27 21:45:37
阅读次数:
55