Unfortunately, I am in a different class right now, so I do not have my source code until I get home, but I am running into a problem.
I have an encryption assignment where we read from a text file like this
"IF PROGRAMMERS BUILT PROGRAMS THE WAY BUILDERS BUILT BUILDINGS THEN THE FIRST WOODPECKER WOULD DESTROY CIVILIZATION"
We have to encrypt it in such a way that like if the value of A was 1, we could change that to 4, which would be a D.
I'm not too fixated on that issue yet, because I am having trouble reading the file into a character array. It HAS to be a character array, but it needs to be read word-for-word. In my current for loop, I can read the file, but all the white space gets ignored, how can I format the text to still have white space and edit accordingly?
Also, I don't know how to declare the size of the array without all the junk coming after it.