Question: using c++ create a header file with prototypes for each of the following functions. Assignment 3: Linked List String Due Date: Friday, March 3rd, 2023

using c++ create a header file with prototypes for each of the following functions.using c++ create a header file with prototypes for each of the

Assignment 3: Linked List String Due Date: Friday, March 3rd, 2023 Design and implement an ADT Stringlist that represents a string by using a linked chain of characters. All your strings will be allocated on the heap. Indude the following constructors and functions: is The parswetrized constructor will take s stdi:string type ifand construet a string Linked Liet frail that abject Stringlist(ponst std: :string str); if The function calculates the length of the string Linked List ifit doesn't count the null at the end int Stringlist:getsize[] oonst; if The function converts the object into a std:istring built-in data type stdistring stringlist:itastring(l eorst; il The function returns the index of the first occurrence of a cheracter in if the String Linked Liat in stringl ist : sindeaof (char e) enist: if The function returns the character at a particular index in the string Linked if List char stringlist:zgetohar(1nt index) const; if The function ingerts a character at a particular index in the String Linked if isist void Stringlist:ingertat;int index, ehar o) const; is The funetion prints the String Linked List by traversing it void stringListiprintist() const; if The evarrieden aperatae mppenda the passed atring to the end ar the abject's isstringList Stringl ist stringlist : operstort [const std: string srhs] eonst: An example for calling the coristructor new String List(' "ABCDABC") would produce a String Linked List as follows: A=2B=2CD=DABC

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 Databases Questions!