Question: these are the flies should be in Student.h , Student.cpp , ItemType.h , UnsortedListByArray.h , UnsortedListByArray.cpp , and Lab 1 . cpp . TESTCASE Please

these are the flies should be in Student.h, Student.cpp, ItemType.h, UnsortedListByArray.h,
UnsortedListByArray.cpp, and Lab1.cpp .
TESTCASE
Please follow the prompt to enter students information, maximum number of
students is 6. Type "Y" to begin/continue, type "N" to stop
Y
Student No.1:
Student FIDN:
A003
Student First Name:
Mimi
Student Last Name:
AAA
A new item is inserted.
Do you want to continue? (Y/N)
Y
Student No.2:
Student FIDN:
A010
Student First Name:
Tom
Student Last Name:
OOO
A new item is inserted.
Do you want to continue? (Y/N)
Y
Student No.3:
Student FIDN:
A009
Student First Name:
Candy
Student Last Name:
XXX
A new item is inserted.
Do you want to continue? (Y/N)
Y
Student No.4:
Student FIDN:
A001
Student First Name:
Lisa
Student Last Name:
CCCCC
A new item is inserted.
Do you want to continue? (Y/N)
Y
Student No.5:
Student FIDN:
A001
Student First Name:
Lisa
Student Last Name:
CCCCC
The item is not inserted since it is a duplicate.
Do you want to continue? (Y/N)
Y
Student No.5:
Student FIDN:
A020
Student First Name:
Zoe
Student Last Name:
DDDD
A new item is inserted.
Do you want to continue? (Y/N)
Y
Student No.6:
Student FIDN:
A011
Student First Name:
Linda
Student Last Name:
XXXXXXX
A new item is inserted.
Do you want to continue? (Y/N)
Y
The list is full, you have to stop.
You have entered 6 students into the database.
This is the list:
AAA,Mimi: A003
OOO,Tom: A010
XXX,Candy: A009
CCCCC,Lisa: A001
DDDD,Zoe: A020
XXXXXXX,Linda: A011
Please enter the FIDN as the key value to split the student list:
A005
Split the previous list with ,: A005
After split:
list one is :
AAA,Mimi: A003
CCCCC,Lisa: A001
list two is :
OOO,Tom: A010
XXX,Candy: A009
DDDD,Zoe: A020
XXXXXXX,Linda: A011
After split, original list is :
AAA,Mimi: A003
OOO,Tom: A010
XXX,Candy: A009
CCCCC,Lisa: A001
DDDD,Zoe: A020
XXXXXXX,Linda: A011
student.h
#ifndef STUDENT_H
#define STUDENT_H
#include
#include
using namespace std;
class Student{
public:
Student();
Student(string fidn);
void setFN(string fn);
void setLN(string ln);
string getFIDN() const;
string getFN() const;
string getLN() const;
S friend ostream& operator(ostream& os, const Student& s); //output: "Hanks,Tom: A000"
private:
string FIDN; //the format should be "A000
string FN;
string LN;
};
#endif
these are the flies should be in Student.h ,

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!