Problem Statement: You have to implement a List Data Structure of student profile information records by using Array in C++ language. In which you have to create: Details: StudentProfile structure must have five variables of type string (string.h library) in it. ArrayList should implement following data members and member functions: Data Members Description array[] Declare an array of type StudentProfile. current Declare an integer variable used to store array index value we are currently working with. listSize Declare an integer variable to store the size of the list. Methods Description add(X,?) Add student profile record in the array list at position in which we want to add it like 0,1,2,3,4,5… in the list. e.g. arrList.add(studentProfile1,5) while arrList is an object of ArrayList class and position is 5. find(X) Find particular student profile in the array list. e.g. arrList.find(testStdProfile). update(X,?) Update student profile record at a given position in the array list. e.g. arrList.update(stdProfile1,2). remove (?) Remove student profile record from the given position in the array list. e.g. arrList.remove(1). listLength() Return size of list. (Not array size) e.g. arrList.listLength(). showList() Will show the list data as given in below screenshots (Detailed Output Screenshot). e.g. arrList.showList(). cmpStdRec() Will compare two student profiles if they are same or not. e.g. comStdRec(stdProfile1,stdProfile2). (“X” denote StudentProfie Object means a student profile record while “?” denotes position where want to add a particular record in the array list.) In the main() function you have to: Note: First student profile record should be your own data. For Example: If your id is BC123456789, name as Bilal, Subject CS301, Degree BSCS and University VU. Then this student profile record must store at first position in the list like given in the screenshot. Detailed Output Screenshot: Main Output Screenshot:
I was in search of a dependable essay writing service when I found an article that presented an honest review of the 5 best services to hire an essay writer in 2023. This article was a lifesaver! It provided a thorough evaluation of each service's strengths and weaknesses, helping me make an informed choice. Thanks to this useful source , I found a service that perfectly matched my academic requirements, and I wholeheartedly recommend it to other students.
New Questions |
---|
trustworthy online casino in New Zealand - C
|
SSM Exam - Other
|
SPC Exam - Other
|
SAFe-Practitioner Exam - Other
|
SAFe-Agilist Exam - Other
|
P_SAPEA_2023 Exam - Other
|
POPM Exam - Other
|