Hello guys..
i'm stuck (on this problem) while doing revision questions for exam next week. I just understand this question.
Can you please make it understandable and guidance (on how to do it) if possible??
5 a) Write a C++ function called searchString that is passed as a null terminated string called inString and a link-list of strings called head. This function searches and returns a boolean value true if inString exists in the linked structure. Otherwise a boolean value false is returned. Assume that each linked list node has the following structure:
Code:struct Node { char directive[10]; Node *next; }; typedef Node * LNode; bool searchString(LNode &head, char *inString)
do i have to initialize a link list for this??