This is a conceptual question to help with a program I am developing.
It takes two lists from a file and compares them in parallel to see if they are anagrams.
My question is how do I store these strings in a one dimensional array mapped to ASCII codes. I don't grasp mapping if each individual string is in the array how are the individual letters compared.
would the array took like this and only be filled with each word at time of comparison. I have ten pair to compare
o l
w o
l w
How does it know what ASCII number to map to in the 26 address array? I hope this is clear I can answer any questions that will help. I was going to have a 0-25 array but don't know how to relate each word to ASCII.
Thanks for any ideas