Question: Can you help me with this function in C++ I have wrriten something in .cpp file which is this blow. and I just need this
Can you help me with this function in C++ I have wrriten something in .cpp file which is this blow.and I just need this in .h file.
//Removes the given Student from the list, releases the memory and updates pointers. //Return true if it is successfully removed, false otherwise. Note: all Students with //the same first and last name should be removed from the list. bool LinkedList::removeByName(string firstName, string lastName) { //---- //---- }
case 'S': I/Remove a student from the list by name cout removeByName(firstName, lastName); if (success true) cout
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts

and I just need this in .h file.
//Removes the given Student from the list, releases the memory and updates pointers. //Return true if it is successfully removed, false otherwise. Note: all Students with //the same first and last name should be removed from the list. bool LinkedList::removeByName(string firstName, string lastName) { //---- //---- }