Assignment due tomorrow. So this is what I am trying to get in my linked list project. I am stuck on the find function. I need help. The find is a integer. Basically the description with the string is apple, substring is ple, when you stumble to ple when comparing return the integer it first gets to, which is 2.
EXAMPLE if what I am trying to get to .
app == ple (0) false walk down the list
ppl == ple (1) false walk down the list
ple== ple (2) true return 2.
return (2)
The struct is provided, Im just stuck with the find function, I tried a few codes but got nothing. How should I go about it.