Okay, I'm completely stumped. I've been messing with .txt files of the English language, and I have 2 different versions. The first version I found was
here at Oracle's website. The second one was
here, which is a Scrabble dictionary. The one from Oracle strangely only has words that are less than 8 characters long, and has a total of 80,368 words in it. The second file has longer words, and has a total of 267,751 words.
My program runs through the text file and counts how many of each character there are. Also, it can figure out how many of each character there are for a specific word length (For example the most common letter might be 'e', but if it is an 8 letter word than the most common letter might be 'a' instead).
The program runs (I think) perfectly with the smaller text file, but only prints out 0's for the larger file. The way I've been running through my array of strings has been by running through just 1000 at a time, so the sketch doesn't crash with a giant for loop.
I don't really think that posting code would be helpful for a problem like this, but I can if you would like. Does anyone have any ideas? Thanks in advance
1