Scanner not picking up double quotes
I am currently working on a scanner and I am trying to have the code read
through double quotes and parse the word within the quotes, and print but
to no avail. It keeps wanting to read the quoted string as a word (another
method in my code) and return it as the wrong type. I'm really confused as
to how one reads the string between quotes and have them print. Any help
is much appreciated.
No comments:
Post a Comment