文件名称:3
介绍说明--下载内容均来自于网络,请自行研究使用
利用list模板建立存储学生信息的链表,存储输入的若干学生信息,并将链表内容存储到指定文件
要求:
1、自定义学生信息类
成员包括:学号、姓名、专业、班级;
成员函数包括:为成员赋值的有参构造函数,信息的输出函数,释放成员空间的析构函数
2、输入学生信息学号为0时终止输入,并将输入内容显示出来
3、利用迭代器访问链表,将数据存储到文件,文件名为“student_info.txt”
4、建议以输出对象作为信息输出函数的参数,根据参数对象的不同输出信息到显示器或文件
-The list template linked list to store student information, storage input student information, and linked lists content stored in the specified file requirements: 1, the custom student information class members include: school, name, profession, class member functions include: assignment as a member of the argument constructor output function of the information, the release of members of the space destructor input student Informatics No. 0:00 terminate input and input content displayed using iterators access the list, the data stored in the file, the file name is " student_info.txt" 4, proposed information output parameters of the function to output the object as different output information according to the parameters of the object to display or file
要求:
1、自定义学生信息类
成员包括:学号、姓名、专业、班级;
成员函数包括:为成员赋值的有参构造函数,信息的输出函数,释放成员空间的析构函数
2、输入学生信息学号为0时终止输入,并将输入内容显示出来
3、利用迭代器访问链表,将数据存储到文件,文件名为“student_info.txt”
4、建议以输出对象作为信息输出函数的参数,根据参数对象的不同输出信息到显示器或文件
-The list template linked list to store student information, storage input student information, and linked lists content stored in the specified file requirements: 1, the custom student information class members include: school, name, profession, class member functions include: assignment as a member of the argument constructor output function of the information, the release of members of the space destructor input student Informatics No. 0:00 terminate input and input content displayed using iterators access the list, the data stored in the file, the file name is " student_info.txt" 4, proposed information output parameters of the function to output the object as different output information according to the parameters of the object to display or file
(系统自动生成,下载前可以参看下载内容)
下载文件列表
利用list模板建立存储学生信息的链表\利用list模板建立存储学生信息的链表.doc
..................................\存储学生信息的链表.cpp
利用list模板建立存储学生信息的链表