Question: C++ Programming assignment Can someone help me with creating these functions? This is what I have so far for the addStore function char *st, char

C++ Programming assignment
Can someone help me with creating these functions?
This is what I have so far for the addStore function  C++ Programming assignment Can someone help me with creating these functions?
This is what I have so far for the addStore function char

char *st, char *zip), and void printStoresInfo0. 2.0.4.2.1 bool addStore(Store "s)-This function shall take a pointer to a Store object which already contains all data on a store. It shall insert the Store object into the linked list in order, sorted by the store ID. It shall return TRUE if the Store was successfully added to the list. 2.0.4.2. 2 Store "removeStore(int ID)--This function shall take an integer store ID as an argument. It shall searcl locate the Store object with that ID if one is present, remove it from the list and return the Store object. The function shall return NULL if it failed to find the Store in the list. Store *getStore(int ID)--This function shall take an integer store ID. It shall search the list, locate the Store object, if present, and return a pointer to the Sto the list. re object. It shall return NULL if the Store was not found i 2.4 bool updateStore(int ID, char *name, char *addr, char *city, char "st, char zip)-Function shall arguments defining changes in the store data. The first argument gives the store ID. The remaining take a list of arguments are char arrays containing the new data on that store. The function will search the list and locate the store then update all data for that store. The function will return TRUE if it successfully updated the data or FALSE if it failed to find the store. 2.0.4.2.5 void printStoresInfo0-Function shall print all data on each store in the list. char *st, char *zip), and void printStoresInfo0. 2.0.4.2.1 bool addStore(Store "s)-This function shall take a pointer to a Store object which already contains all data on a store. It shall insert the Store object into the linked list in order, sorted by the store ID. It shall return TRUE if the Store was successfully added to the list. 2.0.4.2. 2 Store "removeStore(int ID)--This function shall take an integer store ID as an argument. It shall searcl locate the Store object with that ID if one is present, remove it from the list and return the Store object. The function shall return NULL if it failed to find the Store in the list. Store *getStore(int ID)--This function shall take an integer store ID. It shall search the list, locate the Store object, if present, and return a pointer to the Sto the list. re object. It shall return NULL if the Store was not found i 2.4 bool updateStore(int ID, char *name, char *addr, char *city, char "st, char zip)-Function shall arguments defining changes in the store data. The first argument gives the store ID. The remaining take a list of arguments are char arrays containing the new data on that store. The function will search the list and locate the store then update all data for that store. The function will return TRUE if it successfully updated the data or FALSE if it failed to find the store. 2.0.4.2.5 void printStoresInfo0-Function shall print all data on each store in the list

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!