文件名称:CPP
介绍说明--下载内容来自于网络,使用问题请自行百度
编写一个程序实现文件读写操作、排序、查找、删除等操作。要求:
a.将“a.txt”文件中将学生成绩记录按照总分的由高到低方式排列,并将结果输出到“b.txt”。
总分相同的情况下,按照数学成绩的由高到低排列。
b.输入一个学生姓名,查找并输出他/她的信息。若无,则提示“无此人”。
c.输入一个学生学号,查找并删除文件中他/她的记录。若无,则提示“无此人”。
d.增加一个学生信息到记录中,并保持文件中学生记录仍然有序,不可重复。
-Write a program to implement file read and write operations, sorting, search, delete, and so on.
Requirements:
A. record a.t xt file student achievement according to the total score high to low arrangement, and will output the result into b.t xt.
Total score of the same case, according to the math scores high to low arrangement.
B. a student s name, enter search and output of his/her information.If not, the prompt without the person .
C. a student student number, enter search and delete file his/her record.If not, the prompt without the person .
D. add a student information to the records, and keep the file for middle school students record orderly, still not repeatable.
a.将“a.txt”文件中将学生成绩记录按照总分的由高到低方式排列,并将结果输出到“b.txt”。
总分相同的情况下,按照数学成绩的由高到低排列。
b.输入一个学生姓名,查找并输出他/她的信息。若无,则提示“无此人”。
c.输入一个学生学号,查找并删除文件中他/她的记录。若无,则提示“无此人”。
d.增加一个学生信息到记录中,并保持文件中学生记录仍然有序,不可重复。
-Write a program to implement file read and write operations, sorting, search, delete, and so on.
Requirements:
A. record a.t xt file student achievement according to the total score high to low arrangement, and will output the result into b.t xt.
Total score of the same case, according to the math scores high to low arrangement.
B. a student s name, enter search and output of his/her information.If not, the prompt without the person .
C. a student student number, enter search and delete file his/her record.If not, the prompt without the person .
D. add a student information to the records, and keep the file for middle school students record orderly, still not repeatable.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
C++实习/
C++实习/ReadMe.txt
C++实习/a.txt
C++实习/addstudent.cpp
C++实习/addstudent.h
C++实习/b.txt
C++实习/c.txt
C++实习/d.txt
C++实习/res/
C++实习/res/MFC.rc2
C++实习/res/二-文件操作MFC.ico
C++实习/resource.h
C++实习/stdafx.cpp
C++实习/stdafx.h
C++实习/targetver.h
C++实习/二-文件操作MFC.aps
C++实习/二-文件操作MFC.cpp
C++实习/二-文件操作MFC.h
C++实习/二-文件操作MFC.rc
C++实习/二-文件操作MFC.vcxproj
C++实习/二-文件操作MFC.vcxproj.filters
C++实习/二-文件操作MFCDlg.cpp
C++实习/二-文件操作MFCDlg.h
C++实习/ReadMe.txt
C++实习/a.txt
C++实习/addstudent.cpp
C++实习/addstudent.h
C++实习/b.txt
C++实习/c.txt
C++实习/d.txt
C++实习/res/
C++实习/res/MFC.rc2
C++实习/res/二-文件操作MFC.ico
C++实习/resource.h
C++实习/stdafx.cpp
C++实习/stdafx.h
C++实习/targetver.h
C++实习/二-文件操作MFC.aps
C++实习/二-文件操作MFC.cpp
C++实习/二-文件操作MFC.h
C++实习/二-文件操作MFC.rc
C++实习/二-文件操作MFC.vcxproj
C++实习/二-文件操作MFC.vcxproj.filters
C++实习/二-文件操作MFCDlg.cpp
C++实习/二-文件操作MFCDlg.h
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.