I'm new to C and I i have an assignment where I have to build a dictionary (Linked List). Basically the user inputs several words,year and their definitio likn this:
Now what I need is to have a function that will scan the definition which is in UPPER CASE and give me back the word it relates to.
What word would you like to search?
Output: Found "INVEST" in the word "trade".
I was kind of answered to that question. It helped understanding what was done but it's unfortunately not enough.
The string i'm inputting is a full string that takes
I have an idea but i don't know how to code it exactly as I want it. But let me know what you think on the idea as well.
since every section is seperated by the "#" why not have a pointer to every word of my string before the "#" and print it seperately?
"INVEST" and "2001" are pointing to "trade"