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 Labcpp
TESTCASE
Please follow the prompt to enter students information, maximum number of
students is Type Y to begincontinue type N to stop
Y
Student No:
Student FIDN:
A
Student First Name:
Mimi
Student Last Name:
AAA
A new item is inserted.
Do you want to continue? YN
Y
Student No:
Student FIDN:
A
Student First Name:
Tom
Student Last Name:
OOO
A new item is inserted.
Do you want to continue? YN
Y
Student No:
Student FIDN:
A
Student First Name:
Candy
Student Last Name:
XXX
A new item is inserted.
Do you want to continue? YN
Y
Student No:
Student FIDN:
A
Student First Name:
Lisa
Student Last Name:
CCCCC
A new item is inserted.
Do you want to continue? YN
Y
Student No:
Student FIDN:
A
Student First Name:
Lisa
Student Last Name:
CCCCC
The item is not inserted since it is a duplicate.
Do you want to continue? YN
Y
Student No:
Student FIDN:
A
Student First Name:
Zoe
Student Last Name:
DDDD
A new item is inserted.
Do you want to continue? YN
Y
Student No:
Student FIDN:
A
Student First Name:
Linda
Student Last Name:
XXXXXXX
A new item is inserted.
Do you want to continue? YN
Y
The list is full, you have to stop.
You have entered students into the database.
This is the list:
AAA,Mimi: A
OOO,Tom: A
XXXCandy: A
CCCCCLisa: A
DDDDZoe: A
XXXXXXXLinda: A
Please enter the FIDN as the key value to split the student list:
A
Split the previous list with : A
After split:
list one is :
AAA,Mimi: A
CCCCCLisa: A
list two is :
OOO,Tom: A
XXXCandy: A
DDDDZoe: A
XXXXXXXLinda: A
After split, original list is :
AAA,Mimi: A
OOO,Tom: A
XXXCandy: A
CCCCCLisa: A
DDDDZoe: A
XXXXXXXLinda: A
student.h
#ifndef STUDENTH
#define STUDENTH
#include
#include
using namespace std;
class Student
public:
Student;
Studentstring fidn;
void setFNstring fn;
void setLNstring ln;
string getFIDN const;
string getFN const;
string getLN const;
S friend ostream& operatorostream& os const Student& s; output: "Hanks,Tom: A
private:
string FIDN; the format should be A
string FN;
string LN;
;
#endif
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
